The input fields for a rule to associate with a collection.
Access Scopes
Fields
column:
CollectionRuleColumn! -
The attribute that the rule focuses on. For example, `title` or `product_type`.
condition:
String! -
The value that the operator is applied to. For example, `Hats`.
conditionObjectId:
ID -
The object ID that points to additional attributes for the collection rule.
This is only required when using metafield definition rules.
relation:
CollectionRuleRelation! -
The type of operator that the rule is based on. For example, `equals`, `contains`, or `not_equals`.