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

PromotionDTO

The promotion details.

Properties

idstringRequired
The ID of the promotion.
codestring
The code of the promotion.
The type of the promotion:
  • standard indicates that a promotion is a standard one applied with conditions.
  • buyget indicates that a promotion is a "Buy X get Y" promotion.
is_automaticboolean
Whether the promotion is applied automatically.
application_methodApplicationMethodDTO
The associated application method.
The rules of the promotion.
campaignCampaignDTO
The associated campaign.
Was this section helpful?