update-collection
Modify Shopify collection details including title, description, and SEO metadata using the GraphQL API. Essential for maintaining up-to-date and optimized storefront content.
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| collectionId | Yes | The GID of the collection to update (e.g., "gid://shopify/Collection/1234567890") | |
| description | No | ||
| descriptionHtml | No | ||
| seo | No | ||
| title | No | 
Input Schema (JSON Schema)
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "collectionId": {
      "description": "The GID of the collection to update (e.g., \"gid://shopify/Collection/1234567890\")",
      "minLength": 1,
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "descriptionHtml": {
      "type": "string"
    },
    "seo": {
      "additionalProperties": false,
      "properties": {
        "description": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "title": {
      "type": "string"
    }
  },
  "required": [
    "collectionId"
  ],
  "type": "object"
}