# `catalog.collection.update` Patch collection fields. - **scope**: `catalog:write` - **storefront-visible** (bumps the catalog generation): yes - **destructive**: no ## Payload | field | type | required | notes | |---|---|---|---| | `id` | string (/^col_[a-zA-Z0-9]{1,32}$/) | yes | | | `patch` | object | yes | | | ` title` | string (≤120 chars) | no | | | ` handle` | string (/^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$/, ≤64 chars) | no | | | ` descriptionMd` | string (≤20000 chars) \| null | no | | | ` imageMediaId` | string (/^med_[a-zA-Z0-9]{1,32}$/) \| null | no | | | ` imageAlt` | string (≤200 chars) \| null | no | | ### JSON Schema ```json { "$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 } ```