catalog.media.update
Update a media reference’s alt text.
- Scope:
catalog.product.write - System: no
- Reachable from:
POST /v1/commands/catalog.media.update(tenant credential) · MCP toolcatalog.media.update· SDKclient.call('catalog.media.update', …) - Events:
catalog.product.updated,catalog.sku.updated
Input (JSON Schema)
Section titled “Input (JSON Schema)”{ "properties": { "alt": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "media_id": { "minLength": 1, "type": "string" } }, "required": [ "media_id", "alt" ], "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)