Collection Source
Requires access scope.
A source that provides products for a collection.
Anchor to FieldsFields
- app (App)
- description (String)
- id (ID!)
- title (String!)
- •App
The app that created this source, if applicable. In the case of shareable sources, this app manages this source's conditions and selections exclusively.
- Anchor to descriptiondescription•String
An optional description of the source.
- •ID!non-null
The unique identifier for this source.
- Anchor to titletitle•String!non-null
The title of the source.
Anchor to Types implemented inTypes implemented in
- CollectionConditionsSource (CollectionConditionsSource)
- CollectionSubCollectionsSource (CollectionSubCollectionsSource)
- •OBJECT
A collection source that uses conditions and selections to determine which products are included.
- •App
The app that created this source, if applicable. In the case of shareable sources, this app manages this source's conditions and selections exclusively.
- Anchor to descriptiondescription•String
An optional description of the source.
- Anchor to exclusionexclusion•Collection
Source Exclusion The rules and selections for excluding products from the collection.
- •ID!non-null
The unique identifier for this source.
- Anchor to inclusioninclusion•Collection
Source Inclusion! non-null The rules and selections for including products in the collection.
- Anchor to productsproducts•Product
Connection! non-null The products that are members of this source: products matched by the source's inclusion conditions and manual selections, with the source's exclusion conditions, excluded collections, and manual exclusions removed.
- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- •Boolean!non-null
Whether this source can be shared across multiple collections.
- Anchor to targetTypetarget•Collection
Type Source Target Type! non-null Whether conditions match products or individual variants.
- Anchor to titletitle•String!non-null
The title of the source.
- •OBJECT
A collection source whose membership comes from one or more referenced collections (sub-collections).
Sub-collection sources are always non-shareable. Sharing a sub-collection source across owners is not supported because the collection references are owner-bound.
- •App
The app that created this source, if applicable. In the case of shareable sources, this app manages this source's conditions and selections exclusively.
- Anchor to collectionscollections•[Collection!]!non-null
The referenced sub-collections that supply products to this source.
- Anchor to descriptiondescription•String
An optional description of the source.
- •ID!non-null
The unique identifier for this source.
- Anchor to titletitle•String!non-null
The title of the source.