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

UpdatePromotionRuleDTO

The attributes to update in the promotion rule.

Properties

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