Skip to content
v0.3

catalog.media.reorder

Reorder an owner’s media references in one atomic batch (position = index).

  • Scope: catalog.product.write
  • System: no
  • Reachable from: POST /v1/commands/catalog.media.reorder (tenant credential) · MCP tool catalog.media.reorder · SDK client.call('catalog.media.reorder', …)
  • Events: catalog.product.updated, catalog.sku.updated
{
"properties": {
"ordered": {
"items": {
"minLength": 1,
"type": "string"
},
"minItems": 1,
"type": "array"
},
"owner_id": {
"minLength": 1,
"type": "string"
},
"owner_type": {
"enum": [
"product",
"sku"
],
"type": "string"
}
},
"required": [
"owner_type",
"owner_id",
"ordered"
],
"type": "object"
}

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

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