Fetch a specific Collection by one of its unique attributes.
Fields
banner ● Image
Banner associated with the collection.
More
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.
More
metafield ● Metafield
Metafield associated with the collection
More
metafields ● [Metafield]
Metafields associated with the collection
More
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.
More
productsCount ● Intdeprecated
The number of products associated with the collection.
sortOrder ● Stringdeprecated
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.
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?