Create product using WooCommerce API
-
Hello there.
I’m having a problem using the WooCommerce API to create new products.
I can make get requests to retrieve products and orders.
I can make POST requests to update products and orders.
But I can’t make PUT requests to create new products.
I’m doing exactly what the docs tell me to do, but it just does not work.
The create new product API behaves exactly like the list all products API. I send in a PUT request, with the new product information, in JSON format, and the API returns to me the list of all products, and the new product I tried to create is not included in this list.
I need help.
Thanks, in advance.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Create product using WooCommerce API’ is closed to new replies.