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 toolcatalog.product.archive· SDKclient.call('catalog.product.archive', …) - Events:
catalog.product.archived
Input (JSON Schema)
Section titled “Input (JSON Schema)”{ "properties": { "product_id": { "minLength": 1, "type": "string" } }, "required": [ "product_id" ], "type": "object"}Result (200)
Section titled “Result (200)”{ "additionalProperties": false, "properties": { "product_id": { "type": "string" } }, "required": [ "product_id" ], "type": "object"}Errors
Section titled “Errors”validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)