Skip to main content
Skip to main content
You're viewing the documentation for v1, which isn't the latest Medusa version.Latest documentation

CreatePromotionRuleDTO

The promotion rule to be created.

Properties

attributestringRequired
The attribute of the promotion rule.
The operator of the promotion rule.
valuesstring | string[]Required
The values of the promotion rule. When provided, PromotionRuleValue records are created and associated with the promotion rule.
descriptionnull | string
The description of the promotion rule.
Was this section helpful?