Skip to content
v0.3

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 tool catalog.option_value.create · SDK client.call('catalog.option_value.create', …)
  • Events: catalog.product.updated
{
"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"
}
{
"additionalProperties": false,
"properties": {
"value_id": {
"type": "string"
}
},
"required": [
"value_id"
],
"type": "object"
}

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