Cancel an unpaid setup order
cancel_setup_orderCancel a setup order that has not been paid yet (status draft, quoted, awaiting_confirmation or declined only). A paid order cannot be cancelled here - that returns invalid_transition; contact volai instead. Same data as POST /v1/setup-orders/{id}/cancel (response schema in /openapi.json).
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>"
},
"name": "cancel_setup_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | Id of the setup order to cancel, from list_setup_orders. |