Skip to content
v0.3

order.request_cancellation

Request cancellation of the caller’s OWN order (paid or preparing only). Stamps the request + a timeline event; does NOT change the status (real cancel/refund is future). Idempotent by state.

  • Scope: customer.self.write
  • System: no
  • Reachable from: POST /v1/commands/order.request_cancellation (tenant credential) · MCP tool order.request_cancellation · SDK client.call('order.request_cancellation', …)
  • Events: order.cancellation_requested
{
"properties": {
"order_id": {
"minLength": 1,
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"order_id"
],
"type": "object"
}
{
"additionalProperties": false,
"properties": {
"cancellation_requested": {
"type": "boolean"
},
"order_id": {
"type": "string"
}
},
"required": [
"order_id",
"cancellation_requested"
],
"type": "object"
}

validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)