catalog.collection.create

Create a collection (handle derived from title when omitted).

Payload

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

JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "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": {
      "type": "string",
      "maxLength": 20000
    },
    "imageMediaId": {
      "type": "string",
      "pattern": "^med_[a-zA-Z0-9]{1,32}$"
    },
    "imageAlt": {
      "type": "string",
      "maxLength": 200
    }
  },
  "required": [
    "title"
  ],
  "additionalProperties": false
}
Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/commands/catalog.collection.create.md