Skip to content
v0.3

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 tool catalog.option_value.update · SDK client.call('catalog.option_value.update', …)
  • Events: catalog.product.updated
{
"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"
}

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

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