Skip to main content
Anchor to CollectionSourceExclusionCondition

CollectionSourceExclusionCondition

interface

Requires read_products access scope.

A condition that determines which products should be excluded from a collection.

•ID!
non-null

The unique identifier for this exclusion condition.


Was this section helpful?

Anchor to Types implemented inTypes implemented in

•OBJECT

A condition based on collections for excluding products from a collection.

•ID!
non-null

The unique identifier for this exclusion condition.

•CollectionConditionMatchType!
non-null

Collection exclusion conditions always match any referenced collection.

•[Collection!]!
non-null

The collection values whose products are excluded.

•OBJECT

A condition based on product category IDs for excluding products from a collection.

•ID!
non-null

The unique identifier for this exclusion condition.

•CollectionConditionMatchType!
non-null

Specifies whether products must match any or all values.

•CollectionSourceExclusionConditionProductCategoryRelation!
non-null

The relationship between the product category ID and the condition values.

•[CollectionSourceExclusionConditionProductCategoryValue!]!
non-null

The product category values to match against.

•OBJECT

A condition based on product tags for excluding products from a collection.

•ID!
non-null

The unique identifier for this exclusion condition.

•CollectionConditionMatchType!
non-null

Determines how many values a metafield must match against in order to satisfy this condition. Will be either at least one given value, or all of the given values.

•CollectionSourceExclusionConditionProductTagRelation!
non-null

The relationship between the product tag and the condition values.

•[String!]!
non-null

The tag values to match against.

•OBJECT

A condition based on product types for excluding products from a collection.

•ID!
non-null

The unique identifier for this exclusion condition.

•CollectionConditionMatchType!
non-null

Specifies whether products must match any or all values.

•CollectionSourceExclusionConditionProductTypeRelation!
non-null

The relationship between the product type and the condition values.

•[String!]!
non-null

The product type values to match against.

•OBJECT

A condition based on product vendors for excluding products from a collection.

•ID!
non-null

The unique identifier for this exclusion condition.

•CollectionConditionMatchType!
non-null

Specifies whether products must match any or all values.

•CollectionSourceExclusionConditionProductVendorRelation!
non-null

The relationship between the product vendor and the condition values.

•[String!]!
non-null

The product vendor values to match against.

•OBJECT

An exclusion condition introduced in a newer API version that is not modeled by this version of the API. Clients should treat the relation and values as opaque strings.

•ID!
non-null

The unique identifier for this exclusion condition.

•CollectionConditionMatchType

Whether products must match any or all values. Null when the condition has no concept of a match type.

•String

The relation, as a raw string. Nullable and not coerced into an enum because the set of possible relations is open-ended for unknown condition types, and some future conditions may not have a relation at all.

•[String!]

The condition values, as raw strings. Nullable because some future condition types may have no values at all.

•OBJECT

A condition based on variant titles for excluding products from a collection.

•ID!
non-null

The unique identifier for this exclusion condition.

•CollectionConditionMatchType!
non-null

Determines how many values a metafield must match against in order to satisfy this condition. Will be either at least one given value, or all of the given values.

•CollectionSourceExclusionConditionVariantTitleRelation!
non-null

The relationship between the variant title and the condition values.

•[String!]!
non-null

The variant title values to match against.


Was this section helpful?