# CollectionRule - admin-graphql - OBJECT Version: 2024-10 ## Description Represents at rule that's used to assign products to a collection. ### Access Scopes `read_products` access scope. ## Fields * [column](/docs/api/admin-graphql/2024-10/enums/CollectionRuleColumn): CollectionRuleColumn! - The attribute that the rule focuses on. For example, `title` or `product_type`. * [condition](/docs/api/admin-graphql/2024-10/scalars/String): String! - The value that the operator is applied to. For example, `Hats`. * [conditionObject](/docs/api/admin-graphql/2024-10/unions/CollectionRuleConditionObject): CollectionRuleConditionObject - The value that the operator is applied to. * [relation](/docs/api/admin-graphql/2024-10/enums/CollectionRuleRelation): CollectionRuleRelation! - The type of operator that the rule is based on. For example, `equals`, `contains`, or `not_equals`. ## Connections ## Related queries ## Related mutations ## Related Unions ## Examples