Not able to get WooCommerce orders via REST API [closed]


I am trying to get the list of orders from my store via Woocommerce REST API.

This is what I am getting.

{"code":"woocommerce_rest_cannot_view","message":"Sorry, you cannot list resources.","data":{"status":401}}

I created a Rest API key from Woocommerce > Settings > Advanced > REST API and using those values in the above URL.

Am I missing anything?
Is this because the site is not using https protocol?

, Subrata Sarkar 10 months 0 Answers 103 views 0

Leave an answer