Skip to main content
interface

Requires read_products access scope.

A source that provides products for a collection.

•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.

•String

An optional description of the source.

•ID!
non-null

The unique identifier for this source.

•String!
non-null

The title of the source.


Was this section helpful?

Anchor to Types implemented inTypes implemented in

•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.

•String

An optional description of the source.

•ID!
non-null

The unique identifier for this source.

•CollectionSourceInclusion!
non-null

The rules and selections for including products in the collection.

•ProductConnection!
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.

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•Boolean
Default:false

Reverse the order of the underlying list.


•Boolean!
non-null

Whether this source can be shared across multiple collections.

•CollectionSourceTargetType!
non-null

Whether conditions match products or individual variants.

•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 shareable field on the CollectionSource interface always resolves to false for 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.

•String

An optional description of the source.

•ID!
non-null

The unique identifier for this source.

•Collection!
non-null

The single referenced sub-collection that supplies products to this source.

•String!
non-null

The title of the source.


Was this section helpful?