Skip to content
v0.3

catalog.collection.pin

Pin a product into a collection (idempotent). What the combinator does with it is the rule’s.

  • Scope: catalog.product.write
  • System: no
  • Reachable from: POST /v1/commands/catalog.collection.pin (tenant credential) · MCP tool catalog.collection.pin · SDK client.call('catalog.collection.pin', …)
  • Events: catalog.collection.updated
{
"properties": {
"collection_id": {
"minLength": 1,
"type": "string"
},
"position": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"product_id": {
"minLength": 1,
"type": "string"
}
},
"required": [
"collection_id",
"product_id"
],
"type": "object"
}

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

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