Collection Source Exclusion Condition
Requires access scope.
A condition that determines which products should be excluded from a collection.
Anchor to FieldsFields
- id (ID!)
- •ID!non-null
The unique identifier for this exclusion condition.
Anchor to Types implemented inTypes implemented in
- CollectionSourceExclusionConditionCollection (CollectionSourceExclusionConditionCollection)
- CollectionSourceExclusionConditionProductCategory (CollectionSourceExclusionConditionProductCategory)
- CollectionSourceExclusionConditionProductTag (CollectionSourceExclusionConditionProductTag)
- CollectionSourceExclusionConditionProductType (CollectionSourceExclusionConditionProductType)
- CollectionSourceExclusionConditionProductVendor (CollectionSourceExclusionConditionProductVendor)
- CollectionSourceExclusionConditionUnknown (CollectionSourceExclusionConditionUnknown)
- CollectionSourceExclusionConditionVariantTitle (CollectionSourceExclusionConditionVariantTitle)
- •OBJECT
A condition based on collections for excluding products from a collection.
- •ID!non-null
The unique identifier for this exclusion condition.
- Anchor to matchTypematch•Collection
Type Condition Match Type! non-null Collection exclusion conditions always match any referenced collection.
- Anchor to valuesvalues•[Collection!]!non-null
The collection values whose products are excluded.
- •ID!
- Anchor to CollectionSourceExclusionConditionProductCategoryCollection•OBJECT
Source Exclusion Condition Product Category A condition based on product category IDs for excluding products from a collection.
- •ID!non-null
The unique identifier for this exclusion condition.
- Anchor to matchTypematch•Collection
Type Condition Match Type! non-null Specifies whether products must match any or all values.
- Anchor to relationrelation•Collection
Source Exclusion Condition Product Category Relation! non-null The relationship between the product category ID and the condition values.
- Anchor to valuesvalues•[Collection
Source Exclusion Condition Product Category Value!]! non-null The product category values to match against.
- •ID!
- •OBJECT
A condition based on product tags for excluding products from a collection.
- •ID!non-null
The unique identifier for this exclusion condition.
- Anchor to matchTypematch•Collection
Type Condition Match Type! 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.
- Anchor to relationrelation•Collection
Source Exclusion Condition Product Tag Relation! non-null The relationship between the product tag and the condition values.
- Anchor to valuesvalues•[String!]!non-null
The tag values to match against.
- •ID!
- Anchor to CollectionSourceExclusionConditionProductTypeCollection•OBJECT
Source Exclusion Condition Product Type A condition based on product types for excluding products from a collection.
- •ID!non-null
The unique identifier for this exclusion condition.
- Anchor to matchTypematch•Collection
Type Condition Match Type! non-null Specifies whether products must match any or all values.
- Anchor to relationrelation•Collection
Source Exclusion Condition Product Type Relation! non-null The relationship between the product type and the condition values.
- Anchor to valuesvalues•[String!]!non-null
The product type values to match against.
- •ID!
- Anchor to CollectionSourceExclusionConditionProductVendorCollection•OBJECT
Source Exclusion Condition Product Vendor A condition based on product vendors for excluding products from a collection.
- •ID!non-null
The unique identifier for this exclusion condition.
- Anchor to matchTypematch•Collection
Type Condition Match Type! non-null Specifies whether products must match any or all values.
- Anchor to relationrelation•Collection
Source Exclusion Condition Product Vendor Relation! non-null The relationship between the product vendor and the condition values.
- Anchor to valuesvalues•[String!]!non-null
The product vendor values to match against.
- •ID!
- •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.
- Anchor to matchTypematch•Collection
Type Condition Match Type Whether products must match any or all values. Null when the condition has no concept of a match type.
- Anchor to relationrelation•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.
- Anchor to valuesvalues•[String!]
The condition values, as raw strings. Nullable because some future condition types may have no values at all.
- •ID!
- Anchor to CollectionSourceExclusionConditionVariantTitleCollection•OBJECT
Source Exclusion Condition Variant Title A condition based on variant titles for excluding products from a collection.
- •ID!non-null
The unique identifier for this exclusion condition.
- Anchor to matchTypematch•Collection
Type Condition Match Type! 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.
- Anchor to relationrelation•Collection
Source Exclusion Condition Variant Title Relation! non-null The relationship between the variant title and the condition values.
- Anchor to valuesvalues•[String!]!non-null
The variant title values to match against.
- •ID!