cancel_order
Cancel a Shopify order and optionally notify the customer, specify reason, and restock inventory.
Instructions
Cancel an order. Optionally specify a reason and whether to send a notification email to the customer. This may also trigger a refund depending on restock and refund settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | The numeric Shopify order ID to cancel. | |
| reason | No | Cancellation reason. | |
| No | Whether to notify the customer by email. Default: true. | ||
| restock | No | Whether to restock the inventory. Default: false. |