catalog.option_value.update
Rename, reposition or archive an option value; archiving is refused while an active SKU uses it.
- Scope:
catalog.product.write - System: no
- Reachable from:
POST /v1/commands/catalog.option_value.update(tenant credential) · MCP toolcatalog.option_value.update· SDKclient.call('catalog.option_value.update', …) - Events:
catalog.product.updated
Input (JSON Schema)
Section titled “Input (JSON Schema)”{ "properties": { "position": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "status": { "enum": [ "active", "archived" ], "type": "string" }, "value": { "minLength": 1, "type": "string" }, "value_id": { "minLength": 1, "type": "string" } }, "required": [ "value_id" ], "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)