WooCommerce-REST-API-Client-Library icon indicating copy to clipboard operation
WooCommerce-REST-API-Client-Library copied to clipboard

Create and update product tags and catagories is not work

Open ZorionZhang opened this issue 8 years ago • 0 comments

Hello my dear: using your package, i have successfully created or updated the product excepts the 'tags' and 'catagories' ,'related_ids' three fields, I tried several times, but still not work,the code like this: $client->products->update(194, array('related_ids'=>array(38,37), 'tags'=> array('12','34'), 'catagories'=>array("Accessories","Tshirts"))); I don't know whether is something wrong with my code or your function is not support change these fileds. Hope you can help me soon. Best regards.

ZorionZhang avatar Jul 20 '17 02:07 ZorionZhang