Cancel an order (asks first)
cancel_orderPrepares cancelling one order: returns the summary to show the customer and a confirmation_token. Nothing is cancelled until confirm is called with it after the customer agrees. Only an unpaid order that is not in production can be cancelled, as on the order page; otherwise it says so. Needs a signed-in Printdash account: called without one, the connection asks the customer to sign in on printdash.io.
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": "<order>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | The order number (or the order id from its link). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | ||
| action | Yes | ||
| details | Yes | ||
| summary | Yes | Show this to the customer exactly as written before confirming. | |
| expires_at | Yes | ||
| confirmation_token | Yes | ||
| confirmation_required | Yes |