WP API and WooCommerce
-
Hi WP API team,
I need help connected with sending POST request for orders or coupons with my application. Here is how I am trying to create new coupon
1. this is json I am trying to send
{“amount”:10,”code”:”new code”,”type”:”percent”}
2.Here is URL where I am sending the data
https://myurl/wc-api/v3/coupons?consumerkeys….
3. Authentication
I want to mention I am using Basic Auth for authentication
It doesn’t return any error but I am checking admin panel and empty result.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WP API and WooCommerce’ is closed to new replies.