- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
PromotionDTO
The promotion details.
id
stringThe ID of the promotion.
code
stringOptionalThe 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.
The status of the promotion:
active
promotion is available for user to consumeinactive
promotion is no longer available to the userdraft
promotion is currently being prepared
is_automatic
booleanOptionalWhether the promotion is applied automatically.
The associated application method.
The rules of the promotion.
campaign_id
null | stringOptionalThe associated campaign.
The associated campaign.
Was this page helpful?