actindo ->product__create_category
actindo -> product__create_category: Create new category (Neue Warengruppe erstellen)
Signaturstring product__create_category( string $sid, int $parent_id, string $name [, boolean $shop_sync [, int $shop_id]] )
 
Parameter
  • string $sid
    Session identier you got from auth__login or auth__token_login
     
  • int $parent_id
    parent category id
     
  • string $name
    name of new category
     
  • boolean $shop_sync
    set to true if you want to synchronize with the shop
     
  • int $shop_id
    if shop_sync=true, id of the shop to synchronize the new category with (defaults to 0: primary shop)
     
Returnsstring
array('ok'=>TRUE/FALSE, 'id'=>int category id, 'shop_wgid'=>int shop category id (only if shop_sync=true), 'error'=>string error message on failure)
 
DescriptionCreate new category (Neue Warengruppe erstellen)