catalog.collection.update

Patch collection fields.

Payload

fieldtyperequirednotes
idstring (/^col_[a-zA-Z0-9]{1,32}$/)yes
patchobjectyes
titlestring (≤120 chars)no
handlestring (/^a-z0-9?$/, ≤64 chars)no
descriptionMdstring (≤20000 chars) | nullno
imageMediaIdstring (/^med_[a-zA-Z0-9]{1,32}$/) | nullno
imageAltstring (≤200 chars) | nullno

JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^col_[a-zA-Z0-9]{1,32}$"
    },
    "patch": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "handle": {
          "type": "string",
          "maxLength": 64,
          "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
        },
        "descriptionMd": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 20000
            },
            {
              "type": "null"
            }
          ]
        },
        "imageMediaId": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^med_[a-zA-Z0-9]{1,32}$"
            },
            {
              "type": "null"
            }
          ]
        },
        "imageAlt": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "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.collection.update.md