Fetch a specific Collection by one of its unique attributes.
Returns
banner ● Image
Banner associated with the collection.
createdAt ● Date!non-null
The date and time when the collection was created.
descriptionHtml ● String
The description of the collection, complete with HTML formatting.
handle ● String
Automatically generate a unique string based on the title, limited to 255 characters.
id ● ID!non-null
Unique global collection ID
image ● Image
Image associated with the collection.
metafield ● Metafield
Metafield associated with the collection
metafields ● [Metafield]
Metafields associated with the collection
onlineStoreUrl ● String
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.
products ● ProductConnection
List of products in the collection.
productsCount ● Int
deprecated
The number of products associated with the collection.
sortOrder ● String
deprecated
Sort by collection
templatePath ● String
The path to the theme template.
title ● String
The collection’s name. Limit of 255 characters.
updatedAt ● Date
The date and time when the collection was last modified.
Was this article helpful to you?