Anchor to CollectionRuleInputCollection
CollectionRuleInput
input_object
The input fields for a rule to associate with a collection.
Anchor to FieldsFields
- Anchor to columncolumn•Collection
Rule non-nullColumn! The attribute that the rule focuses on. For example,
title
or.
- Anchor to conditioncondition•String!non-null
The value that the operator is applied to. For example,
Hats
.- Anchor to conditionObjectIdcondition•
Object Id The object ID that points to additional attributes for the collection rule. This is only required when using metafield definition rules.
- Anchor to relationrelation•Collection
Rule non-nullRelation! The type of operator that the rule is based on. For example,
equals
,contains
, or.
Was this section helpful?
Anchor to Input objects using this inputInput objects using this input
- •INPUT OBJECT
The rules used to assign products to the collection.
Was this section helpful?