Skip to content
v0.3

promotion.code.remove

Remove a coupon code. Orders that already used it keep their frozen discount — this only stops future use.

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

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