catalog.category.update

Update a category's name, installment cap, or position.

Payload

fieldtyperequirednotes
idstring (/^cat_[a-zA-Z0-9]{1,32}$/)yes
patchobjectyes
namestring (≤80 chars)no
taksitCapinteger (0..12) | nullno
positioninteger (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