PromotionDTO
The promotion details.
idstringRequiredThe ID of the promotion.
codestringThe code of the promotion.
The type of the promotion:
standardindicates that a promotion is a standard one applied with conditions.buygetindicates that a promotion is a "Buy X get Y" promotion.
is_automaticbooleanWhether the promotion is applied automatically.
application_methodApplicationMethodDTOThe associated application method.
application_methodApplicationMethodDTOrulesPromotionRuleDTO[]The rules of the promotion.
rulesPromotionRuleDTO[]campaignCampaignDTOThe associated campaign.
campaignCampaignDTOWas this section helpful?