CollectionRuleInput

Specifies a rule to associate with a collection.

Show definition

# Specifies a rule to associate with a collection.
input CollectionRuleInput {
  # The attribute that the rule focuses on (for example, title or product_type).
  column: CollectionRuleColumn!

# The value that the operator is applied to (for example, Hats). condition: String!

# The type of operator that the rule is based on (for example, equals, contains, or not_equals). relation: CollectionRuleRelation! }

Input Fields

column   (CollectionRuleColumn!)

Required

The attribute that the rule focuses on (for example, title or product_type).

condition   (String!)

Required

The value that the operator is applied to (for example, Hats).

relation   (CollectionRuleRelation!)

Required

The type of operator that the rule is based on (for example, equals, contains, or not_equals).

Sign up for a Partner account to get started.

Sign up