WooCommerce REST API authentication methods


I want all queries coming to the WooCommerce REST API [/v3/] such as [POST, PUT, UPDATE, eg.] to work just like WordPress’ Cookie authentication.

In short,

  • [GET] requests are completely open. (No authentication required)!
  • [POST, PUT, UPDATE, eg.] requests are pass on the Cookie Authentication (if the user has the authority works).

I think of a scenario like above. But I could not configure the required settings. Can you help me with the adjustments I need to make in functions.php for this?

km onur 2 years 2020-12-17T02:10:31-05:00 0 Answers 4 views 0

Leave an answer