WooCommerce PUT and Delete API shows 401 AUthentication error

I am integrating WooCommerce with my ERP system. I could successfully integrate POST and GET APIs. However, the PUT and DELETE API throws 401 authentication error.
I have passed the consumer key and secret via the URL like https://site_adress/wp-json/wc/v2/products?consumer_key=consumer_key&consumer_secret=secret_key
Please note that, all the API methods (POST, PUT, GET and DELETE) use same consumer_key and secret.

Read more here:: WooCommerce PUT and Delete API shows 401 AUthentication error

Leave a Reply

Your email address will not be published. Required fields are marked *