Actions14
Overview
The Shopistuff node for n8n allows you to interact with the Shopify API. Specifically, when using the Product resource and the Delete operation, this node enables you to delete a product from your Shopify store by specifying its Product ID. This is useful in scenarios where you need to automate product management tasks, such as removing discontinued or erroneous products from your inventory.
Practical Example:
You could use this node in an automation workflow that removes products based on certain criteria (e.g., out-of-stock, flagged for removal) by passing their IDs to this node.
Properties
Name | Type | Meaning |
---|---|---|
Product ID | String | The unique identifier of the product to be deleted from the Shopify store. This field is required. |
Output
The output will be a JSON object indicating the success of the deletion operation:
{
"success": true
}
If an error occurs and "Continue On Fail" is enabled, the output will include an error message:
{
"error": "Error message here"
}
Dependencies
- External Service: Requires access to the Shopify API.
- Credentials: You must configure
shopistuffApi
credentials in n8n to authenticate requests to Shopify.
Troubleshooting
Common Issues:
- Invalid Product ID: If the provided Product ID does not exist or is incorrect, the node will throw an error.
- Authentication Errors: Missing or invalid Shopify API credentials will result in authentication failures.
- API Rate Limits: Excessive requests may trigger Shopify's rate limiting.
Common Error Messages & Resolutions:
"Not Found"
: The Product ID does not exist. Double-check the ID."Unauthorized"
: Check your Shopify API credentials in n8n."At least one line item has to be added"
: Not relevant for delete, but may appear if misconfigured.