Unable to list products or categories in WooCommerce Rest API
-
I’m trying to get a list of products and categories to display in an Android application.
I’m using WooCommerce REST API along with JWT Authentication. The problem here after I’ve authenticated with a user who hascustomer
role, I am unable to list any of the products or categories. This is the response that I get:{
“code”: “woocommerce_rest_cannot_view”,
“message”: “Sorry, you can not list resources.”,
“data”: {
“status”: 403
}
}I am positive it’s due to the user permissions since I can list categories when I switch the user role to that of any management role.
I’ve even used Capability Manager Enhanced to grant the needed permissions (even
manage woocommerce
) to thecustomer
role to no success.
- The topic ‘Unable to list products or categories in WooCommerce Rest API’ is closed to new replies.