Skip to content
v0.3

order.cancel_request.decline

Refuse a shopper’s cancellation request, with a mandatory reason: records the refusal on the timeline and clears the request. The order is untouched and keeps being fulfilled. To grant one instead use order.cancel_request.approve (returning the money with order.refund first). Idempotent by state; declining what was not requested is a conflict.

  • Scope: order.write
  • System: no
  • Reachable from: POST /v1/commands/order.cancel_request.decline (tenant credential) · MCP tool order.cancel_request.decline · SDK client.call('order.cancel_request.decline', …)
  • Events: order.cancellation_declined
{
"properties": {
"order_id": {
"minLength": 1,
"type": "string"
},
"reason": {
"maxLength": 1000,
"minLength": 1,
"type": "string"
}
},
"required": [
"order_id",
"reason"
],
"type": "object"
}
{
"additionalProperties": false,
"properties": {
"cancellation_requested": {
"type": "boolean"
},
"order_id": {
"type": "string"
},
"outcome": {
"enum": [
"approved",
"declined"
],
"type": "string"
}
},
"required": [
"order_id",
"cancellation_requested",
"outcome"
],
"type": "object"
}

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