Skip to content
v0.3

catalog.product.archive

Archive a product — it leaves the public catalog and keeps everything else. Reversible: bring it back with an update setting status to active or draft (there is no unarchive command; the update is the one door to that column). Publication is NOT touched — status and publication are orthogonal, so an archived product keeps its store rows and reappears the moment it is active again.

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

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