Collection Connection
An auto-generated type for paginating through multiple Collections.
Anchor to Fields with this connectionFields with this connection
- •OBJECT
The
Productobject 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 products and collections.
Anchor to Queries with this connectionQueries with this connection
- •query
List of the shop’s collections.
- Anchor to firstfirst•Int
Returns up to the first
nelements from the list.- Anchor to afterafter•String
Returns the elements that come after the specified cursor.
- Anchor to lastlast•Int
Returns up to the last
nelements from the list.- Anchor to beforebefore•String
Returns the elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Collection
Key Sort Keys Default:ID Sort the underlying list by the given key.
- Anchor to queryquery•String
Apply one or multiple filters to the query. Refer to the detailed search syntax for more information about using filters.
Arguments
Anchor to Possible returnsPossible returns
- Anchor to edgesedges•[Collection
Edge!]! non-null A list of edges.
- Anchor to nodesnodes•[Collection!]!non-null
A list of the nodes contained in CollectionEdge.
- Anchor to pageInfopage•Page
Info Info! non-null Information to aid in pagination.
- Anchor to totalCounttotal•Unsigned
Count Int64! non-null The total count of Collections.