Shopify Collections icon

Shopify Collections

Create and manage Shopify collections through the Admin GraphQL API

Collection → Get Many

AI-generated

Summary

List Shopify collections matching an optional search query, optionally returning all or a limited number of collections.

Inputs

  • Search Query — Optional Shopify search syntax to filter collections, e.g., 'title:summer*'.
  • Return All — Boolean flag to return all collections up to a maximum of 250 instead of limiting the results.
  • Limit — Maximum number of collections to return when Return All is false, between 1 and 250.
  • Return Full Response — Boolean flag to return the full raw Shopify GraphQL response including metadata, instead of only the collection data.

Output shape

a list of collection objects, each containing fields like id, title, handle, descriptionHtml, sortOrder, updatedAt, onlineStoreUrl, trackingParameters, templateSuffix, seo, image, ruleSet, and metafields; or the full Shopify GraphQL response payload if requested

If Return All is true, up to 250 collections are returned; otherwise, the number is limited by the Limit parameter. If Return Full Response is enabled, the output is the entire raw GraphQL response object rather than a simplified array of collections. Supports filtering collections by Shopify's search query syntax.

Examples

Example 1: Retrieve up to 50 collections with 'summer' in the title

Set Search Query to 'title:summer*', Return All to false, Limit to 50, Return Full Response to false

Example 2: Retrieve all collections without filtering and get the full raw Shopify response

Set Search Query empty, Return All to true, Return Full Response to true

Links

Discussion