Collection Connection
An auto-generated type for paginating through multiple Collections.
Anchor to Fields with this connectionFields with this connection
- •OBJECT
A channel represents an app where you sell a group of products and collections. A channel can be a platform or marketplace such as Facebook or Pinterest, an online store, or POS.
- •OBJECT
A list of collections that the discount can have as a prerequisite or a list of collections to which the discount can be applied.
- •OBJECT
The items to which this price rule applies. This may be multiple products, product variants, collections or combinations of the aforementioned.
- •OBJECT
Single or multiple line item products, product variants or collections required for the price rule to be applicable, can also be provided in combination.
- •OBJECT
The
Product
object lets you manage products in a merchant’s store.Products are the goods and services that merchants offer to customers. They can include various details such as title, description, price, images, and options such as size or color. You can use product variants to create or update different versions of the same product. You can also add or update product media. Products can be organized by grouping them into a collection.
Learn more about working with Shopify's product model, including limitations and considerations.
- •OBJECT
A publication is a group of products and collections that is published to an app.
- •OBJECTDeprecated
Anchor to Queries with this connectionQueries with this connection
- •query
Retrieves a list of collections in a store. Collections are groups of products that merchants can organize for display in their online store and other sales channels. For example, an athletics store might create different collections for running attire, shoes, and accessories.
Use the
collections
query when you need to:- Build a browsing interface for a store's product groupings.
- Create collection searching, sorting, and filtering experiences (for example, by title, type, or published status).
- Sync collection data with external systems.
- Manage both custom (manual) and smart (automated) collections.
The
collections
query supports pagination for large catalogs and saved searches for frequently used collection queries.The
collections
query returns collections with their associated metadata, including:- Basic collection information (title, description, handle, and type)
- Collection image and SEO metadata
- Product count and product relationships
- Collection rules (for smart collections)
- Publishing status and publication details
- Metafields and custom attributes
Learn more about using metafields with smart collections.
Anchor to Possible returnsPossible returns
- Anchor to edgesedges•[Collection
Edge!]! non-null The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.
- Anchor to nodesnodes•[Collection!]!non-null
A list of nodes that are contained in CollectionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.
- Anchor to pageInfopage•Page
Info Info! non-null An object that’s used to retrieve cursor information about the current page.