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)
- CollectionSubCollectionSource (CollectionSubCollectionSource)
- •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.
- •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 a single referenced collection (sub-collection).
Sub-collection sources are always non-shareable: the inherited
shareablefield on theinterface always resolves tofalsefor this type. Sharing a sub-collection source across owners is not supported because the chain reference is 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 descriptiondescription•String
An optional description of the source.
- •ID!non-null
The unique identifier for this source.
- Anchor to subCollectionsub•Collection!
Collection non-null The single referenced sub-collection that supplies products to this source.
- Anchor to titletitle•String!non-null
The title of the source.