Q: I’m getting an error message that I can’t list resources when trying to establish my connection to WooCommerce. What should I do?
A: According to WooCommerce’s API doc, you can authenticate in two ways:
- Directly pass the consumer key and secret in headers - this is the recommended method. The integrator.io connection assistant uses the headers mechanism. Check with WooCommerce support to make sure that your account is set to allow authentication via headers.
- Use query parameters such as: https://www.acme.com/wp-json/wc/v1/orders?consumer_key=ck_9999f6d60c4ba1018374b160bcfd150921bc3f4f&consumer_secret=cs_99942d11ea3442dd1c40257565af5cf0563999. You can use this if the server you are connecting to doesn’t support authentication via headers.