Actions40
- Customer Actions
- Inventory Actions
- Order Actions
- Products Actions
- Shipping and fulfillment Actions
- Location Actions
Products → Delete Product
AI-generatedOverview
This node integrates with the Haravan platform, specifically allowing users to manage various resources such as products. The "Delete Product" operation enables users to remove a product from their Haravan store directly within an n8n workflow. This is useful for automating inventory management, cleaning up outdated or discontinued products, or synchronizing product data between systems.
Practical examples include:
- Automatically deleting products that are no longer available or have been discontinued.
- Cleaning up test or temporary products after certain workflows complete.
- Integrating with external systems to keep product catalogs in sync by removing deleted items.
Properties
| Name | Meaning |
|---|---|
| Options | A collection of optional fields to customize the request behavior. |
| - Logging Request | Boolean option to enable logging of each API request sent to Haravan for debugging purposes. |
Output
The node outputs JSON data representing the status and details of the executed operation. Specifically, for each input item processed, it returns an object containing:
executionId: The unique identifier of the current execution.resource: The resource type involved (e.g., "Products").operation: The operation performed (e.g., "Delete Product").status: The status of the operation, which will be"completed"if successful.timestamp: The ISO string timestamp when the operation was completed.
If multiple items are processed, the output is an array of such objects, one per item.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the Haravan platform.
- The node depends on the Haravan API being accessible and properly configured.
- No additional environment variables or external services are explicitly required beyond the API authentication.
Troubleshooting
Common issues:
- Failure to delete a product may occur if the product ID is invalid or does not exist.
- Network or authentication errors if the API key is missing, invalid, or lacks sufficient permissions.
- Enabling the "Logging Request" option can help debug issues by providing detailed logs of API requests.
Error messages:
- Errors thrown during execution will include context about the item index causing the failure.
- If the node is set to continue on fail, failed items will be included in the output with error details.
- To resolve errors, verify API credentials, ensure the product exists, and check network connectivity.
Links and References
- Haravan API Documentation (for detailed API endpoints and authentication)
- n8n Documentation (for general usage of custom nodes and workflows)