Skip to main content
Anchor to CollectionConditionsSource

CollectionConditionsSource

object

Requires read_products access scope.

A collection source that uses conditions and selections to determine which products are included.

•App

The app that manages this source, if applicable.

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

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


Was this section helpful?

•query

Returns the shareable collection sources owned by the given app for the shop.

Arguments

•String

The elements that come after the specified cursor.

•ID!
required

The ID of the app whose collection sources to return.

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



Was this section helpful?

•mutation

Creates a shareable collection source that can later be linked to one or more collections.

Arguments

•CollectionCreateConditionsSourceInput!
required

The input fields for the source to create.


•mutation

Updates a shareable collection source owned by the calling app.

Arguments

•CollectionUpdateConditionsSourceInput!
required

The input fields for the source to update.



Was this section helpful?

•interface

Was this section helpful?