Skip to content
v0.3

catalog.sku.delete

Delete a SKU if it is virgin (never ordered/reserved), otherwise archive it. Never removes a product’s last SKU.

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

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