Not able to retrive customers orders from rest api
-
I have Create a new Rest API credentials for a customer
now I am using the following api to get the orders for that prticular user.
/wp-json/wc/v3/ordersbut I am having the following error in the response
{ "code": "woocommerce_rest_cannot_view", "message": "Sorry, you cannot list resources.", "data": { "status": 403 } }
I have tried with both basic auth and keys in url paramter. but not wotking. if the rest api belongs to that perticular user then it should give me the users order but it is giving me error.Please help
Even I am not able to get the product list with the customer’s api credentials.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Not able to retrive customers orders from rest api’ is closed to new replies.