catalog.category.update
Update a category's name, installment cap, or position.
- scope:
catalog:write - storefront-visible (bumps the catalog generation): no
- destructive: no
Payload
| field | type | required | notes |
|---|---|---|---|
id | string (/^cat_[a-zA-Z0-9]{1,32}$/) | yes | |
patch | object | yes | |
name | string (≤80 chars) | no | |
taksitCap | integer (0..12) | null | no | |
position | integer (0..9007199254740991) | no |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^cat_[a-zA-Z0-9]{1,32}$"
},
"patch": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"taksitCap": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 12
},
{
"type": "null"
}
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"additionalProperties": false
}
},
"required": [
"id",
"patch"
],
"additionalProperties": false
}Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/commands/catalog.category.update.md