Skip to content

Shopify credentials#

You can use these credentials to authenticate the following nodes with Shopify.

Prerequisites#

Supported authentication methods#

  • API token
  • OAuth2
  • API key

Refer to Shopify's authentication documentation for more information about the service.

Using API token#

To configure this credential, you'll need:

  • Your Shop Subdomain: Your subdomain is within the URL: https://<subdomain>.myshopify.com. For example, if the full URL is https://n8n.myshopify.com, the Shop Subdomain is n8n.
  • An Access Token: Generated when you create a custom app as the Admin API Access Token. View it in the app's API Credentials section.
  • An APP Secret Key: Generated when you create a custom app as the API Secret Key. View it in the app's API Credentials section.

Creating a custom app generates the Access Token and APP Secret Key.

Refer to Generate access tokens for custom apps in the Shopify admin for more information.

Using OAuth2#

To configure this credential, you'll need:

  • A Client ID: Generated when you create a custom app in the API Access section.
  • A Client Secret: Generated when you create a custom app in the API Access section.
  • Your Shop Subdomain: Your subdomain is within the URL: https://<subdomain>.myshopify.com. For example, if the full URL is https://n8n.myshopify.com, the Shop Subdomain is n8n.

Refer to About auth code grants for more information on working with OAuth2.

Using API key#

To configure this credential, you'll need:

  • An API Key
  • A Password
  • Your Shop Subdomain: Your subdomain is within the URL: https://<subdomain>.myshopify.com. For example, if the full URL is https://n8n.myshopify.com, the Shop Subdomain is n8n.
  • Optional: A Shared Secret

Forbidden credentials error#

If you get a Couldn't connect with these settings / Forbidden - perhaps check your credentials warning when you test the credentials, this may be due to access scope dependencies. For example, read_orders scope also requires read_products scope.