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

Create product category endpoint

Open fido-hh opened this issue 9 years ago • 3 comments

Since 2.5 woocommerce API has an endpoint to create product categories. There seems to be no function in the php lib to use this feature, will it be with the next update? Or is it possible to achieve this with the class WC_API_Client_Resource_Custom? How would i do this? Thank you.

fido-hh avatar Feb 02 '16 13:02 fido-hh

I am also interested in this.

blaskovic avatar Mar 31 '16 16:03 blaskovic

Does anyone know if an endpoint to add (POST) and update (PUT) product categories is going to be implemented?

I am using c# to access the API, I can do a GET with the endpoint product/categories but when i try a POST it fails with no such endpoint.

This ommission from the API renders any attempt to do remote automation of product listings on sites difficult.

ajblanc avatar Jun 20 '16 06:06 ajblanc

this endpoint is in version 2.5 onwards.

We have some legacy systems that it was not working on... we will upgrade so this os no longer an issue.

ajblanc avatar Jun 21 '16 08:06 ajblanc