REST API
-
Hello!
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/customersThanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘REST API’ is closed to new replies.