# CollectionRuleConditions - admin - OBJECT Version: unstable ## 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](/docs/api/admin/unstable/enums/CollectionRuleRelation): CollectionRuleRelation! - Allowed relations of the rule. * [defaultRelation](/docs/api/admin/unstable/enums/CollectionRuleRelation): CollectionRuleRelation! - Most commonly used relation for this rule. * [ruleObject](/docs/api/admin/unstable/unions/CollectionRuleConditionsRuleObject): CollectionRuleConditionsRuleObject - Additional attributes defining the rule. * [ruleType](/docs/api/admin/unstable/enums/CollectionRuleColumn): CollectionRuleColumn! - Type of the rule. ## Connections ## Related queries * [collectionRulesConditions](/docs/api/admin/unstable/queries/collectionRulesConditions) Lists all rules that can be used to create smart collections. ## Related mutations ## Related Unions ## Examples