Skip to content
v0.3

promotion.archive

Retire a promotion. It is never deleted: closed orders reference it and the usage trail is a record.

  • Scope: promotion.write
  • System: no
  • Reachable from: POST /v1/commands/promotion.archive (tenant credential) · MCP tool promotion.archive · SDK client.call('promotion.archive', …)
  • Events: promotion.archived
{
"properties": {
"promotion_id": {
"minLength": 1,
"type": "string"
}
},
"required": [
"promotion_id"
],
"type": "object"
}
{
"additionalProperties": false,
"properties": {
"promotion_id": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"promotion_id",
"status"
],
"type": "object"
}

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