Actions17
- Customer Actions
- Order Actions
- Shipping Actions
- Payment Actions
- Cart Actions
Overview
This node interacts with the OpenCart API to manage orders, specifically allowing the deletion of an order by its ID. It is useful in e-commerce workflows where automated order management is required, such as removing canceled or invalid orders from the system.
Use Case Examples
- Automatically delete an order when a refund is processed.
- Remove test orders created during development or QA.
- Clean up orders that have been marked as fraudulent.
Properties
| Name | Meaning |
|---|---|
| Order ID | The unique identifier of the order to be deleted. |
Output
JSON
json- The response from the OpenCart API after attempting to delete the order, typically indicating success or failure.
Dependencies
- Requires an OpenCart API credential with base URL, username, and password for authentication.
Troubleshooting
- Ensure the Order ID provided exists in the OpenCart system; otherwise, the API may return an error indicating the order was not found.
- Verify that the OpenCart API credentials are correct and have sufficient permissions to delete orders.
- If the node throws a JSON parsing error, check that all JSON inputs (if any) are correctly formatted.
- Network or timeout issues may cause request failures; check the base URL and network connectivity.
Links
- OpenCart API Documentation - Official documentation for OpenCart API endpoints and usage.
