Actions16
- Customers Actions
- Options Actions
- Orders Actions
- Products Actions
- Variants Actions
Overview
This node integrates with the Sharpei API to manage products, specifically allowing deletion of a product by its unique identifier (PID). It is useful in scenarios where you need to programmatically remove products from your inventory or catalog within an automated workflow. For example, if a product is discontinued or no longer available, this node can be used to delete it automatically based on certain triggers or conditions.
Properties
Name | Meaning |
---|---|
Product PID | The unique identifier (PID) of the product to be deleted |
Output
The node outputs JSON data representing the response from the Sharpei API after attempting to delete the specified product. This typically includes confirmation of deletion or error details if the operation failed. There is no indication that binary data is output by this node.
Dependencies
- Requires an API key credential for authenticating with the Sharpei API.
- The base URL for API requests is
https://api.prod.gosharpei.com/api
. - Proper configuration of the API authentication credential in n8n is necessary.
Troubleshooting
- Common issues:
- Invalid or missing Product PID will cause the deletion to fail.
- Authentication errors if the API key credential is not set up correctly.
- Network or connectivity issues preventing access to the Sharpei API endpoint.
- Error messages:
- Errors related to authorization usually indicate problems with the API key; verify and update credentials.
- "Product not found" errors suggest the provided PID does not exist; double-check the PID value.
- Timeout or connection errors may require checking network settings or API availability.
Links and References
- Sharpei API Documentation (Assumed official API docs for further details on product deletion endpoints)