Skip to content
v0.3

catalog.product.unpublish_bulk

Remove many products from a store in ONE transaction (all-or-nothing; the ones it does not carry are skipped).

  • Scope: catalog.product.publish
  • System: no
  • Reachable from: POST /v1/commands/catalog.product.unpublish_bulk (tenant credential) · MCP tool catalog.product.unpublish_bulk · SDK client.call('catalog.product.unpublish_bulk', …)
  • Events: catalog.product.unpublished
{
"properties": {
"product_ids": {
"items": {
"minLength": 1,
"type": "string"
},
"maxItems": 1000,
"minItems": 1,
"type": "array"
},
"store_id": {
"minLength": 1,
"type": "string"
}
},
"required": [
"product_ids",
"store_id"
],
"type": "object"
}
{
"additionalProperties": false,
"properties": {
"skipped": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"store_id": {
"type": "string"
},
"unpublished": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"store_id",
"unpublished",
"skipped"
],
"type": "object"
}

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