Anchor to collectionByHandlecollection
querycollection By Handle
Requires access scope.
Deprecated. Use collectionByIdentifier instead.
Return a collection by its handle.
Anchor to Arguments
Arguments
- Anchor to handlehandle•String!required
The handle of the collection.
Was this section helpful?
Anchor to Possible returnsPossible returns
- Anchor to CollectionCollection•Collection
Represents a group of products that can be displayed in online stores and other sales channels in categories, which makes it easy for customers to find them. For example, an athletics store might create different collections for running attire, shoes, and accessories.
Collections can be defined by conditions, such as whether they match certain product tags. These are called smart or automated collections.
Collections can also be created for a custom group of products. These are called custom or manual collections.
Was this section helpful?