Anchor to CollectionSourceInclusionConditionMetafieldIntInputCollection
input_objectCollection Source Inclusion Condition Metafield Int Input
The input fields for a condition based on integer metafield values.
Anchor to FieldsFields
- definitionId (ID!)
- relation (CollectionSourceInclusionConditionMetafieldIntRelation!)
- value (String!)
- Anchor to definitionIddefinition•ID!
Id non-null The ID of the metafield definition.
- Anchor to relationrelation•Collection
Source Inclusion Condition Metafield Int Relation! non-null The relationship between the metafield value and the condition value.
- Anchor to valuevalue•String!non-null
The integer value to match against, as a string.
Was this section helpful?
Anchor to Input objects using this inputInput objects using this input
- Anchor to CollectionSourceInclusionConditionInput.metafieldIntCollection•INPUT OBJECT
Source Inclusion Condition Input.metafieldInt 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:
,,,,,,. As of API version 2026-10,replaces.
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?