Skip to content
v0.3

catalog.product.categorize

Add a product to a category (optionally as the canonical one).

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

Open (unknown) — this command does not declare an output schema.

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