Answer the question
In order to leave comments, you need to log in
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
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question