Skip to main content
Anchor to CollectionSourceInclusionConditionVariantPriceInput

CollectionSourceInclusionConditionVariantPriceInput

input_object

The input fields for a condition based on variant prices.

•CollectionSourceInclusionConditionVariantPriceRelation!
non-null

The relationship between the variant price and the condition value.

•MoneyInput!
required

The variant price to match against.


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•INPUT OBJECT

A condition that determines which products are included in a collection.

Available condition types, grouped by what they filter on:

  • Product attributes: productTag, productTitle, productType, productVendor, productStatus, productCategory.
  • Variant attributes: variantTitle, variantPrice, variantCompareAtPrice, variantInventory, variantWeight.
  • Pricing: isPriceReduced.
  • Metafields: metafieldBoolean, metafieldInteger, metafieldDecimal, metafieldString, metafieldStringList, metafieldMetaobject, metafieldMetaobjectList.

Each condition type specifies its own relation (for example, EQUALS, CONTAINS, TAGGED_WITH) and value shape. Combine multiple conditions in a single source's inclusion.conditions list and use the source's matchType to require that products match ANY or ALL of them.


Was this section helpful?