deleteCampaign

Delete a sales promotion.

Input parameters

Parameter name Description Possible value Required
campaignID The sales promotion to be deleted. integer yes

If a promotion still has coupon rules that reference it, API will not allow to delete it — error 1022 will be returned.

We recommend to deactivate an old promotion (change its end date), instead of deleting it.