CollectionRuleConditions object

Version 2020-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 2019-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 2019-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 2019-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

Sign up for a Partner account to get started.

Sign up