Conversation
supportHello! We use query https://store/wp-json/wc/v2/coupons , but it return message: { “code”: “woocommerce_rest_cannot_view”, “message”: “Sorry, you cannot list resources.”, “data”: { “status”: 401 } } What’s the reason? Other queries are working and return all data https://our_store/wp-json/wc/v2/products https://our_store/wp-json/wc/v2/orders https://our_store/wp-json/wc/v2/customers Thanks!
Sorry, the status of response 403, not 401. { “code”: “woocommerce_rest_cannot_view”, “message”: “Sorry, you cannot list resources.”, “data”: { “status”: 403 } }
Sorry, the status of response 403, not 401. { “code”: “woocommerce_rest_cannot_view”, “message”: “Sorry, you cannot list resources.”, “data”: { “status”: 403 } }