- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
CreatePromotionDTO
The promotion to be created.
code
stringThe 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.
status
PromotionStatusValuesThe status of the promotion:
draft
indicates that a promotion is currently being preparedactive
indicates that a promotion is activeinactive
indicates that a promotion is no longer active
application_method
CreateApplicationMethodDTOThe associated application method.
application_method
CreateApplicationMethodDTOis_automatic
booleanOptionalWhether the promotion is applied automatically.
The rules of the promotion.
The associated campaign.
campaign_id
stringOptionalThe associated campaign's ID.
Was this page helpful?