Anchor to CollectionSourceInclusionConditionVariantOptionInputCollection
input_objectCollection Source Inclusion Condition Variant Option Input
The input fields for a condition based on variant option values.
Anchor to FieldsFields
- matchType (CollectionConditionMatchType!)
- optionName (String!)
- relation (CollectionSourceInclusionConditionVariantOptionRelation!)
- values ([String!]!)
- Anchor to matchTypematch•Collection
Type Condition Match Type! non-null EQUALS pairs with ANY; NOT_EQUALS pairs with ALL.
Show enum values
- Anchor to optionNameoption•String!
Name non-null The option name, as picked in the name picker.
- Anchor to relationrelation•Collection
Source Inclusion Condition Variant Option Relation! non-null The relationship between the variant option and the condition values.
Show enum values
- Anchor to valuesvalues•[String!]!non-null
The values to match, in the spelling the merchant saw.
Was this section helpful?
Anchor to Input objects using this inputInput objects using this input
- Anchor to CollectionSourceInclusionConditionInput.variantOptionCollection•INPUT OBJECT
Source Inclusion Condition Input.variantOption A condition that determines which products are included in a collection.
Available condition types, grouped by what they filter on:
- Product attributes:
,,,,,. - Variant attributes:
,,,,. - Pricing:
. - Metafields:
,,,,,, and eitherorfor integer metafields. Usebefore API version 2026-10 andfrom 2026-10 onward.is deprecated as of 2026-10 and removed as of 2027-01.
Each condition type specifies its own
relation(for example,EQUALS,CONTAINS,TAGGED_WITH) and value shape. Combine multiple conditions in a single source'sinclusion.conditionslist and use the source'sto require that products matchANYorALLof them.- Product attributes:
Was this section helpful?