Cannot create a product using API
-
Hello everyone.
I’m trying to create a product in my store using the WooCommerce API but I can’t. I’m performing a POST to this URL:
https://testingwoocommerceapi.epizy.com/wp-json/wc/v3/products
and sending my consumer key and secret on the Basic Auth option. When I send the product payload into the JSON I get an HTTP 200 with an HTML of response (https://prnt.sc/dT09quayUEF6). I also tried to send the same request with an OAuth 1.0 and nothing changed, tried another API endpoint, tried on different days, tried GET and POST, etc… nothing is working! Please, what can I do?I’m testing through an HTTPS website, hosted on InfinityFree, with WooCommerce Version 6.7.0 and WordPress version 6.0.1, also with pretty permalinks set (using the ‘Post Name’ one).
- The topic ‘Cannot create a product using API’ is closed to new replies.