Anchor to CollectionRuleConditionObjectCollection
CollectionRuleConditionObject
union
Requires access scope.
Specifies object for the condition of the rule.
Anchor to Possible typesPossible types
- •OBJECT
Specifies the taxonomy category to used for the condition.
- •OBJECT
Identifies a metafield definition used as a rule for the smart collection.
- •OBJECT
Specifies the condition for a Product Category field.
- •OBJECT
Specifies the condition for a text field.
Was this section helpful?
Anchor to Fields with this unionFields with this union
- •OBJECT
The value that the operator is applied to.
Was this section helpful?
1union CollectionRuleConditionObject = CollectionRuleCategoryCondition | CollectionRuleMetafieldCondition | CollectionRuleProductCategoryCondition | CollectionRuleTextCondition