CollectionRuleInput input object

Version 2020-01 (Release candidate)

Specifies a rule to associate with a collection.

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).

Version 2019-10 (Latest)

Specifies a rule to associate with a collection.

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).

Version 2019-07

Specifies a rule to associate with a collection.

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).

Version 2019-04

Specifies a rule to associate with a collection.

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