Skip to main content
Anchor to CollectionRuleConditions

CollectionRuleConditions

object

Requires read_products access scope.

This object defines all columns and allowed relations that can be used in rules for smart collections to automatically include the matching products.

•[CollectionRuleRelation!]!
non-null

Allowed relations of the rule.

•CollectionRuleRelation!
non-null

Most commonly used relation for this rule.

•CollectionRuleConditionsRuleObject

Additional attributes defining the rule.

•CollectionRuleColumn!
non-null

Type of the rule.


Was this section helpful?

•query

Lists all rules that can be used to create smart collections.


Was this section helpful?