Skip to main content
Anchor to CollectionSourceInclusionCondition

CollectionSourceInclusionCondition

interface

Requires read_products access scope.

A condition that determines which products should be included in a collection.

•ID!
non-null

The unique identifier for this condition.


Was this section helpful?

Anchor to Types implemented inTypes implemented in

•OBJECT

A condition based on whether a product has a reduced price for including products in a collection.

•ID!
non-null

The unique identifier for this condition.

•CollectionSourceInclusionConditionIsPriceReducedRelation!
non-null

The relationship between the compare at price and the condition values.

•OBJECT

A condition based on boolean metafield values for including products in a collection.

•MetafieldDefinition!
non-null

The metafield definition to use for the condition.

•ID!
non-null

The unique identifier for this condition.

•CollectionSourceInclusionConditionMetafieldBooleanRelation!
non-null

The relationship between the metafield value and the condition.

•Boolean!
non-null

The boolean value to match against.

•OBJECT

A condition based on decimal metafield values for including products in a collection.

•MetafieldDefinition!
non-null

The metafield definition to use for the condition.

•ID!
non-null

The unique identifier for this condition.

•CollectionSourceInclusionConditionMetafieldDecimalRelation!
non-null

The relationship between the metafield value and the condition value.

•Decimal!
non-null

The decimal value to match against.

•OBJECT

A condition based on integer metafield values for including products in a collection.

•MetafieldDefinition!
non-null

The metafield definition to use for the condition.

•ID!
non-null

The unique identifier for this condition.

•CollectionSourceInclusionConditionMetafieldIntegerRelation!
non-null

The relationship between the metafield value and the condition value.

•Int!
non-null

The integer value to match against.

•OBJECT

A condition based on single metaobject reference metafield values for including products in a collection.

•MetafieldDefinition!
non-null

The metafield definition to use for the condition.

•ID!
non-null

The unique identifier for this condition.

•CollectionSourceInclusionConditionMetafieldMetaobjectRelation!
non-null

The relationship between the metafield value and the condition value.

•Metaobject!
non-null

The metaobject to match against.

•OBJECT

A condition based on list of metaobject reference metafield values for including products in a collection.

•MetafieldDefinition!
non-null

The metafield definition to use for the condition.

•ID!
non-null

The unique identifier for this 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.

•CollectionSourceInclusionConditionMetafieldMetaobjectListRelation!
non-null

The relationship between the metafield value and the condition values.

•[Metaobject!]!
non-null

The metaobjects to match against.

•OBJECT

A condition based on string metafield values for including products in a collection.

•MetafieldDefinition!
non-null

The metafield definition to use for the condition.

•ID!
non-null

The unique identifier for this 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.

•CollectionSourceInclusionConditionMetafieldStringRelation!
non-null

The relationship between the metafield value and the condition values.

•[String!]!
non-null

The string values to match against.

•OBJECT

A condition based on list of string metafield values for including products in a collection.

•MetafieldDefinition!
non-null

The metafield definition to use for the condition.

•ID!
non-null

The unique identifier for this 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.

•CollectionSourceInclusionConditionMetafieldStringListRelation!
non-null

The relationship between the metafield value and the condition values.

•[String!]!
non-null

The string values to match against.

•OBJECT

A condition based on product category IDs for including products in a collection.

•ID!
non-null

The unique identifier for this condition.

•CollectionConditionMatchType!
non-null

Specifies whether products must match any or all values.

•CollectionSourceInclusionConditionProductCategoryRelation!
non-null

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

•[CollectionSourceInclusionConditionProductCategoryValue!]!
non-null

The product category values to match against.

•OBJECT

A condition based on product status for including products in a collection.

•ID!
non-null

The unique identifier for this condition.

•CollectionConditionMatchType!
non-null

Specifies whether products must match any or all values.

•CollectionSourceInclusionConditionProductStatusRelation!
non-null

The relationship between the product status and the condition values.

•[ProductStatus!]!
non-null

The product status values to match against.

•OBJECT

A condition based on product tags for including products in a collection.

•ID!
non-null

The unique identifier for this 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.

•CollectionSourceInclusionConditionProductTagRelation!
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 titles for including products in a collection.

•ID!
non-null

The unique identifier for this 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.

•CollectionSourceInclusionConditionProductTitleRelation!
non-null

The relationship between the product title and the condition values.

•[String!]!
non-null

The title values to match against.

•OBJECT

A condition based on product types for including products in a collection.

•ID!
non-null

The unique identifier for this condition.

•CollectionConditionMatchType!
non-null

Specifies whether products must match any or all values.

•CollectionSourceInclusionConditionProductTypeRelation!
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 including products in a collection.

•ID!
non-null

The unique identifier for this condition.

•CollectionConditionMatchType!
non-null

Specifies whether products must match any or all values.

•CollectionSourceInclusionConditionProductVendorRelation!
non-null

The relationship between the product vendor and the condition values.

•[String!]!
non-null

The product vendor values to match against.

•OBJECT

An inclusion 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 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 compare at prices for including products in a collection.

•ID!
non-null

The unique identifier for this condition.

•CollectionSourceInclusionConditionVariantCompareAtPriceRelation!
non-null

The relationship between the variant compare at price and the condition values.

•MoneyV2

The variant compare at price to match against. Null when the relation is IS_SET or IS_NOT_SET.

•OBJECT

A condition based on variant inventory quantities for including products in a collection.

•ID!
non-null

The unique identifier for this condition.

•CollectionSourceInclusionConditionVariantInventoryRelation!
non-null

The relationship between the variant inventory and the condition values.

•Int!
non-null

The variant inventory to match against.

•OBJECT

A condition based on variant prices for including products in a collection.

•ID!
non-null

The unique identifier for this condition.

•CollectionSourceInclusionConditionVariantPriceRelation!
non-null

The relationship between the variant price and the condition values.

•MoneyV2!
non-null

The variant price to match against.

•OBJECT

A condition based on variant titles for including products in a collection.

•ID!
non-null

The unique identifier for this 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.

•CollectionSourceInclusionConditionVariantTitleRelation!
non-null

The relationship between the variant title and the condition values.

•[String!]!
non-null

The variant title values to match against.

•OBJECT

A condition based on variant weights for including products in a collection.

•ID!
non-null

The unique identifier for this condition.

•CollectionSourceInclusionConditionVariantWeightRelation!
non-null

The relationship between the variant weight and the condition values.

•Weight!
non-null

The variant weight to match against.


Was this section helpful?