Skip to main content
object

Requires unauthenticated_read_product_listings access scope.

A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse.

Anchor to Fields and connectionsFields and connections

•String!non-null

Stripped description of the collection, single line with HTML tags removed.

•HTML!non-null

The description of the collection, complete with HTML formatting.

•String!non-null

A human-friendly unique string for the collection automatically generated from its title. Limit of 255 characters.

•ID!non-null

A globally-unique ID.

•Image

Image associated with the collection.

•Metafield

A custom field, including its namespace and key, that's associated with a Shopify resource for the purposes of adding and storing additional information.

•[Metafield]!non-null

A list of custom fields that a merchant associates with a Shopify resource.

•URL

The URL used for viewing the resource on the shop's Online Store. Returns null if the resource is currently not published to the Online Store sales channel.

•ProductConnection!non-null

List of products in the collection.

•SEO!non-null

The collection's SEO information.

•String!non-null

The collection’s name. Limit of 255 characters.

•String

URL parameters to be added to a page URL to track the origin of on-site search traffic for analytics reporting. Returns a result when accessed through the search or predictiveSearch queries, otherwise returns null.

•DateTime!non-null

The date and time when the collection was last modified.


Was this section helpful?

•query

Fetch a specific Collection by one of its unique attributes.

•query

List of the shop’s collections.


Was this section helpful?


Was this section helpful?
OSZAR »