Actions23
Draft Order → Delete
AI-generatedSummary
Deletes a specific Shopify draft order using the Admin API.
Inputs
- shopUrl (required) — The URL of the Shopify store.
- accessToken (required) — The Admin API Access Token.
- draftOrderId (required) — The ID of the draft order to delete.
Output shape
A single object containing the string 'success' and the ID of the deleted draft order.
The operation returns a success confirmation rather than the deleted resource.
Examples
Example 1: Remove an old draft order with ID 1234567890.
Set Shop URL, Access Token, and Draft Order ID to 1234567890.