Cancel an order
cancel_orderCancels an order that is not in production yet; if it was already paid from the wallet the amount goes back to the wallet. Orders in production or shipped cannot be cancelled. Also cancels TEST-... orders.
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": {
"order_id": "<order_id>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Hoplix order id, or a TEST-... id |