An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Retrieves a Collection using its ID.
Arguments
id ● ID!non-null
The ID of collection.
Return
banner ● Image
The banner associated with the collection.
More
descriptionHtml ● String
The collection's description, which includes any tags of HTML and formatting. The content of description is typically shown to customers according to the theme.
handle ● String
A unique string used to identify the collection. If the handle is not specified during the collection creation process, it will be automatically generated based on the collection's title.
hasProduct ● Boolean
Whether the specified product is bound to the current collection.
id ● ID
Globally unique collection ID.
image ● Image
The cover image for collection
More
products ● ProductConnection
The list of products in the current collection.
More
productsCount ● Int
The number of products in the collection.
resourcePublicationsV2 ● ResourcePublicationV2Connection
The resources that have been published or are ready to be published. Currently, querying the collection ResoursePublicationV2 is not supported.
More
ruleSet ● CollectionRuleSet
The rules that specify whether a product is included in a smart collection.
More
seo ● Seo
Seo information of the collection.
More
sortOrder ● CollectionSortOrder
By default, the display order of products within the category in the SHOPLINE backend and sales channels like online stores.
More
templateSuffix ● String
The theme template used for viewing collection in the store.
title ● String
The collection's name, which is showed in the Shopline backend and typically shown in sales channels, for example, online stores.
updatedAt ● Date
The collection's modification time in ISO 8601 format.
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?