Skip to main content
Skip to main content

CreatePromotionDTO

The promotion to be created.

codestringRequired
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_methodCreateApplicationMethodDTO
The associated application method.
The rules of the promotion.
The associated campaign.
campaign_idstring
The associated campaign's ID.
Was this section helpful?