order-close-open
Close or reopen a Shopify order: closing marks all items fulfilled and finances complete, while opening reopens a closed order for further processing.
Instructions
Close or reopen an order. Closing marks all items fulfilled and finances complete. Opening reopens a closed 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": {
"orderId": "<orderId>",
"action": "<action>"
},
"name": "order-close-open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Whether to close or open the order | |
| orderId | Yes | The order GID, e.g. gid://shopify/Order/123 |