PromotionDTO
The promotion details.
id
stringRequiredThe ID of the promotion.
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.
is_automatic
booleanWhether the promotion is applied automatically.
application_method
ApplicationMethodDTOThe associated application method.
application_method
ApplicationMethodDTOrules
PromotionRuleDTO[]The rules of the promotion.
rules
PromotionRuleDTO[]campaign
CampaignDTOThe associated campaign.
campaign
CampaignDTOWas this section helpful?