post https://api4.optimove.net/Integrations/AddPromotions
Adds promo codes and associated names that will be available for selection when running a campaign.
Rate Limit
This endpoint is subject to the general API rate limit of 50 requests per 10 seconds. Learn more about handling rate limits.
Notes
- If a PromoCode being added already exists, it will be replaced with the PromotionName specified in the call.
A maximum of 100 promotions may be added with one call. - Once added, a promotion can be deleted by calling the DeletePromotions function.
- This function does not return a payload. A successful call will return a response code of 200 (success). Refer to an explanation of the other possible response codes at Error Handling
Sample Request
[
{"PromoCode":"WB23","PromotionName":"Welcome back Promo"},
{"PromoCode":"NV10","PromotionName":"New VIP 10% Discount"}
]
Sample Response
None