CollectionRule - admin-graphql - OBJECT
Version: 2024-07
Description:
Represents at rule that's used to assign products to a collection.
Access Scopes
`read_products` access scope.
Fields
-
column:
CollectionRuleColumn! -
The attribute that the rule focuses on. For example, `title` or `product_type`.
-
condition:
String! -
The value that the operator is applied to. For example, `Hats`.
-
conditionObject:
CollectionRuleConditionObject -
The value that the operator is applied to.
-
relation:
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