cancel_order
Cancel a Shopify order by GID, specifying a cancellation reason, with options to automatically refund and notify the customer via email.
Instructions
Cancels an order
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Shopify Order GID | |
| reason | No | Cancellation reason | |
| refund | No | Automatically refund | |
| notifyCustomer | No | Notify customer via email |