D
D
Darklez2016-08-30 14:26:22
API
Darklez, 2016-08-30 14:26:22

How to get orders by WooCommerce API?

Good afternoon, I can’t figure out how to use the WooCommerce API, I write in the address bar
/wp-json/wc/v1/orders, it displays an error 401 - which means authentication failed.
The essence of the question is how to pass authentication? What parameters should be included in the request?
Tried to do like this:

/wp-json/wc/v1/orders?consumer_key=123&consumer_secret=abc

(where instead of 123 and abc the corresponding created keys) still didn't work.
I am using the https protocol.
Instructions and docs here - woothemes.github.io/woocommerce-rest-api-docs/?she...
Help me figure it out!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question