Skip to content
v0.3

catalog.sku.update

Update a SKU (partial; price/compare-at/code/status/name/ref/ean/option tuple/metadata/weight/dims, and is_default — the product’s default SKU, at most one, setting it clears the sibling).

  • Scope: catalog.sku.write
  • System: no
  • Reachable from: POST /v1/commands/catalog.sku.update (tenant credential) · MCP tool catalog.sku.update · SDK client.call('catalog.sku.update', …)
  • Events: catalog.sku.updated
{
"properties": {
"amount": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"code": {
"minLength": 1,
"type": "string"
},
"compare_at_amount": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"currency": {
"maxLength": 3,
"minLength": 3,
"type": "string"
},
"ean": {
"type": "string"
},
"height_cm": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"is_default": {
"type": "boolean"
},
"length_cm": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"metadata": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"option_values": {
"items": {
"properties": {
"option": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"option",
"value"
],
"type": "object"
},
"type": "array"
},
"ref": {
"type": "string"
},
"sku_id": {
"minLength": 1,
"type": "string"
},
"status": {
"type": "string"
},
"weight_grams": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"width_cm": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"sku_id"
],
"type": "object"
}

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

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