Skip to main content
Anchor to CollectionRuleConditionsRuleObject

CollectionRuleConditionsRuleObject

union

Requires read_products access scope.

Specifies object with additional rule attributes.

•OBJECT

Identifies a metafield definition used as a rule for the smart collection.

Anchor to metafieldConditionDisplayNamemetafieldConditionDisplayName
•String

The metafield condition display name associated to the rule.

•MetafieldDefinition!
non-null

The metafield definition associated with the condition.


Was this section helpful?

Anchor to Fields with this unionFields with this union

•OBJECT

This object defines all columns and allowed relations that can be used in rules for smart collections to automatically include the matching products.


Was this section helpful?