create_collection
Create a manual collection with a required title and optional description, handle, and product IDs. Returns the collection GID for subsequent operations. The collection appears immediately in your store.
Instructions
Create a new manual collection (rule-based 'smart' collections aren't supported here — use the Shopify admin for those). Title is required; description, handle, and an initial product list are optional. Returns the new collection's GID, which you'll need for subsequent add_products_to_collection or update_collection calls. Side effect: collection becomes immediately visible in the storefront unless you've configured publication channels separately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Display title shown to shoppers. Required. | |
| description | No | HTML body for the collection page. Plain text works; HTML tags render. | |
| handle | No | URL slug (e.g. 'summer-sale'). Defaults to a slugified title. Must be unique per shop. | |
| productIds | No | Product GIDs to seed into the new (manual) collection. Smart collections built from rules aren't supported by this tool — use the Shopify admin UI for those. |