Shopistuff icon

Shopistuff

Consume Shopify API

Overview

The Shopistuff node for n8n allows you to interact with the Shopify API, specifically for managing customers in your Shopify store.
For the Customer → Update operation, this node updates an existing customer's information such as email, tags, or notes.

Common scenarios:

  • Keeping customer records up-to-date when their contact details change.
  • Tagging customers for segmentation or marketing purposes.
  • Adding internal notes about a customer for support or sales teams.

Example use cases:

  • Automatically update a customer's email address after they submit a change request.
  • Add tags to customers who have made a recent purchase.
  • Append notes to a customer profile after a support interaction.

Properties

Name Type Meaning
Customer ID String The unique identifier of the customer to update. Required.
Update Fields Fixed Collection The fields to update for the customer. Can include tags, email, and note.
└ Tags String Comma-separated list of tags to attach to the customer.
└ Email String The new email address for the customer. Must be unique.
└ Note String A note about the customer (for internal use).

Output

The output is a JSON object representing the updated customer record as returned by the Shopify API.
The structure typically includes fields such as:

{
  "id": 123456789,
  "email": "[email protected]",
  "tags": "VIP,Newsletter",
  "note": "Preferred contact via email.",
  // ...other standard Shopify customer fields
}
  • If an error occurs and "Continue On Fail" is enabled, the output will contain an error field with the error message.

Dependencies

  • External Service: Requires access to a Shopify store and valid API credentials (API key/token).
  • n8n Credentials: You must configure the shopistuffApi credential in n8n with your Shopify API details.

Troubleshooting

Common issues:

  • Invalid Customer ID: If the provided Customer ID does not exist, the node will return an error from Shopify.
  • Duplicate Email: Attempting to set an email that already exists for another customer will result in a validation error.
  • Missing Required Fields: Omitting the Customer ID will cause the node to fail.

Error messages and resolutions:

  • "Not Found": Check that the Customer ID is correct and exists in your Shopify store.
  • "Email has already been taken": Use a unique email address for each customer.
  • "Missing required parameter(s): customer": Ensure all required fields are filled in.

Links and References

Discussion