CollectionRuleConditions - admin-graphql - OBJECT
Version: 2025-01
Description:
This object defines all columns and allowed relations that can be used in rules for smart collections to automatically include the matching products.
Access Scopes
`read_products` access scope.
Fields
-
allowedRelations:
CollectionRuleRelation! -
Allowed relations of the rule.
-
defaultRelation:
CollectionRuleRelation! -
Most commonly used relation for this rule.
-
ruleObject:
CollectionRuleConditionsRuleObject -
Additional attributes defining the rule.
-
ruleType:
CollectionRuleColumn! -
Type of the rule.
Connections
Related queries
Related mutations
Related Unions
Examples