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

CollectionRuleInput input object

Version unstable

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 2021-04 (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 2021-01 (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-10

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