kloon / WooCommerce-REST-API-Client-Library

A PHP wrapper for the WooCommerce REST API
GNU General Public License v3.0
356 stars 175 forks source link

Create and update product tags and catagories is not work #228

Open ZorionZhang opened 7 years ago

ZorionZhang commented 7 years ago

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.