catalog.option_value.create
Add a value to a product option axis (e.g. size “40”). No SKU carries it until one is created.
- Scope:
catalog.product.write - System: no
- Reachable from:
POST /v1/commands/catalog.option_value.create(tenant credential) · MCP toolcatalog.option_value.create· SDKclient.call('catalog.option_value.create', …) - Events:
catalog.product.updated
Input (JSON Schema)
Section titled “Input (JSON Schema)”{ "properties": { "option_id": { "minLength": 1, "type": "string" }, "position": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "value": { "minLength": 1, "type": "string" } }, "required": [ "option_id", "value" ], "type": "object"}Result (200)
Section titled “Result (200)”{ "additionalProperties": false, "properties": { "value_id": { "type": "string" } }, "required": [ "value_id" ], "type": "object"}Errors
Section titled “Errors”validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)