Cancel order
cancel_orderCancels an order and refunds the escrowed payment in full: any paid order before the supplier accepts, or an accepted order once it is past its ship deadline (order.overdue is true). Before that, an accepted order cannot be cancelled.
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 |
|---|---|---|---|
| reason | No | ||
| order_id | Yes |