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 toolcatalog.media.reorder· SDKclient.call('catalog.media.reorder', …) - Events:
catalog.product.updated,catalog.sku.updated
Input (JSON Schema)
Section titled “Input (JSON Schema)”{ "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"}Result (200)
Section titled “Result (200)”Open (unknown) — this command does not declare an output schema.
Errors
Section titled “Errors”validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)