Anchor to CollectionSourceInclusionConditionMetafieldStringListInputCollection
input_objectCollection Source Inclusion Condition Metafield String List Input
The input fields for a condition based on string list metafield values.
Anchor to FieldsFields
- definitionId (ID!)
- matchType (CollectionConditionMatchType!)
- relation (CollectionSourceInclusionConditionMetafieldStringListRelation!)
- values ([String!]!)
- Anchor to definitionIddefinition•ID!
Id non-null The ID of the metafield definition.
- Anchor to matchTypematch•Collection
Type Condition Match Type! non-null Whether to match any or all of the values.
- Anchor to relationrelation•Collection
Source Inclusion Condition Metafield String List Relation! non-null The relationship between the metafield value and the condition values.
- Anchor to valuesvalues•[String!]!non-null
The string values to match against.
Was this section helpful?
Anchor to Input objects using this inputInput objects using this input
- Anchor to CollectionSourceInclusionConditionInput.metafieldStringListCollection•INPUT OBJECT
Source Inclusion Condition Input.metafieldStringList 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:
,,,,,,.
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?