Skip to content

WooCommerce credentials#

You can use these credentials to authenticate the following nodes:

Prerequisites#

  • Install the WooCommerce plugin on your WordPress website.
  • In WordPress, go to Settings > Permalinks and set your WordPress permalinks to use something other than Plain.

Supported authentication methods#

  • API key

Refer to WooCommerce's REST API documentation for more information about the service.

Using API key#

To configure this credential, you'll need:

  • A Consumer Key: Created when you generate an API key.
  • A Consumer Secret: Created when you generate an API key.
  • A WooCommerce URL: Enter your WordPress site URL.
  • Include Credentials in Query: If turned on, n8n includes your credentials as query string parameters instead of in the Authorization header.
    • Some servers may not parse the Authorization header and will display a "Consumer key is missing" error when authenticating over SSL. If you run into this error, turn this setting on to provide the consumer key/secret as query string parameters instead.

To generate an API key:

  1. Go to WooCommerce > Settings > Advanced > Rest API > Add key.
  2. Select Read/Write from the Permissions dropdown.
  3. Copy the generated Consumer Key and Consumer Secret and enter them into your n8n credentials.

Refer to Generate Keys for more information.