Actions5
- Draft Order Actions
- Shipping Actions
- Report Actions
Draft Order → Delete Draft Order
AI-generatedOverview
This node interacts with the GoSell API to delete a draft order by its ID. It is useful in scenarios where you need to programmatically remove draft orders from the system, such as cleaning up unused drafts or managing order workflows automatically.
Use Case Examples
- Automatically delete draft orders that are no longer needed after a certain period.
- Remove draft orders based on specific business logic or user actions in an automated workflow.
Properties
| Name | Meaning |
|---|---|
| Draft Order ID | The unique identifier of the draft order to be deleted. This property is required to specify which draft order should be removed. |
Output
JSON
json- The JSON response from the GoSell API after attempting to delete the draft order. This typically contains confirmation of deletion or error details if the operation failed.
Dependencies
- Requires an API key credential for GoSell API authentication.
- Makes HTTP DELETE requests to the GoSell API endpoint for draft orders.
Troubleshooting
- If the draft order ID is invalid or does not exist, the API will return an error message indicating the failure to delete.
- Ensure the API key credential is valid and has the necessary permissions to delete draft orders.
- Network or connectivity issues may cause the request to fail; verify the endpoint URL and network status.
- If the node throws an error, check the error message returned by the API for specific details and adjust the input accordingly.
Links
- GoSell API Documentation - Delete Draft Order - Official API documentation for deleting draft orders using the GoSell API.