get_collections
Get product collections and their contents, including SEO metadata. Reports: list (all collections with product counts plus seoTitle/seoDescription), products (products in a specific collection with pricing, inventory, SEO, and optional sales data). seoTitle/seoDescription correspond to Shopify's global.title_tag and global.description_tag metafields. Use for 'how many products in the sandals collection?', 'what products are in collection X?', 'which collection products sell best?', or to inspect collection/product SEO tags.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results (default: 50) | |
| report | Yes | Report type | |
| _offset | No | Pagination offset. If a response includes _pagination.hasMore=true, use _offset to fetch the next page. | |
| endDate | No | For products: include sales data to this date (YYYY-MM-DD) | |
| startDate | No | For products: include sales data from this date (YYYY-MM-DD) | |
| collectionId | No | For products: Shopify collection ID | |
| collectionTitle | No | For products: search by collection title (partial match) |