API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

CollectionRuleInput input object

Version 2021-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 2020-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 2020-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 2020-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).

Version 2020-01

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 (Unsupported)

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 (Unsupported)

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 (Unsupported)

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