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

CollectionRuleConditions object

Version unstable

Collections may use rules to automatically include the matching products. This defines restrictions for a type of rule.

Required access

read_products access scope.

Fields

allowedRelations ([CollectionRuleRelation!]!)

Allowed relations of the rule.

defaultRelation (CollectionRuleRelation!)

Most commonly used relation for this rule.

ruleType (CollectionRuleColumn!)

Type of the rule.

Types that return CollectionRuleConditions

Version 2021-01 (Release candidate)

Collections may use rules to automatically include the matching products. This defines restrictions for a type of rule.

Required access

read_products access scope.

Fields

allowedRelations ([CollectionRuleRelation!]!)

Allowed relations of the rule.

defaultRelation (CollectionRuleRelation!)

Most commonly used relation for this rule.

ruleType (CollectionRuleColumn!)

Type of the rule.

Types that return CollectionRuleConditions

Version 2020-10 (Latest)

Collections may use rules to automatically include the matching products. This defines restrictions for a type of rule.

Required access

read_products access scope.

Fields

allowedRelations ([CollectionRuleRelation!]!)

Allowed relations of the rule.

defaultRelation (CollectionRuleRelation!)

Most commonly used relation for this rule.

ruleType (CollectionRuleColumn!)

Type of the rule.

Types that return CollectionRuleConditions

Version 2020-07

Collections may use rules to automatically include the matching products. This defines restrictions for a type of rule.

Required access

read_products access scope.

Fields

allowedRelations ([CollectionRuleRelation!]!)

Allowed relations of the rule.

defaultRelation (CollectionRuleRelation!)

Most commonly used relation for this rule.

ruleType (CollectionRuleColumn!)

Type of the rule.

Types that return CollectionRuleConditions

Version 2020-04

Collections may use rules to automatically include the matching products. This defines restrictions for a type of rule.

Required access

read_products access scope.

Fields

allowedRelations ([CollectionRuleRelation!]!)

Allowed relations of the rule.

defaultRelation (CollectionRuleRelation!)

Most commonly used relation for this rule.

ruleType (CollectionRuleColumn!)

Type of the rule.

Types that return CollectionRuleConditions

Version 2020-01

Collections may use rules to automatically include the matching products. This defines restrictions for a type of rule.

Required access

read_products access scope.

Fields

allowedRelations ([CollectionRuleRelation!]!)

Allowed relations of the rule.

defaultRelation (CollectionRuleRelation!)

Most commonly used relation for this rule.

ruleType (CollectionRuleColumn!)

Type of the rule.

Types that return CollectionRuleConditions

Version 2019-10 (Unsupported)

Collections may use rules to automatically include the matching products. This defines restrictions for a type of rule.

Required access

read_products access scope.

Fields

allowedRelations ([CollectionRuleRelation!]!)

Allowed relations of the rule.

defaultRelation (CollectionRuleRelation!)

Most commonly used relation for this rule.

ruleType (CollectionRuleColumn!)

Type of the rule.

Types that return CollectionRuleConditions

Version 2019-07 (Unsupported)

Collections may use rules to automatically include the matching products. This defines restrictions for a type of rule.

Required access

read_products access scope.

Fields

allowedRelations ([CollectionRuleRelation!]!)

Allowed relations of the rule.

defaultRelation (CollectionRuleRelation!)

Most commonly used relation for this rule.

ruleType (CollectionRuleColumn!)

Type of the rule.

Types that return CollectionRuleConditions

Version 2019-04 (Unsupported)

Collections may use rules to automatically include the matching products. This defines restrictions for a type of rule.

Required access

read_products access scope.

Fields

allowedRelations ([CollectionRuleRelation!]!)

Allowed relations of the rule.

defaultRelation (CollectionRuleRelation!)

Most commonly used relation for this rule.

ruleType (CollectionRuleColumn!)

Type of the rule.

Types that return CollectionRuleConditions