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

Specifies a rule to associate with a collection.

Input fields