put https://api.getblueshift.com/api/v1/promotions//add_promocodes
Use this endpoint to add promo codes to existing promotion.
Try the endpoint
- Add the User API key as the Username and leave the Password field blank.
- Click the Base URL dropdown and select the API endpoint URL for your Blueshift region.
- Click Try It.
You can also try the API using Blueshift's API collection in Postman.
Number of Promo codes in one request
The API has a limit of 1000 promo codes that can be updated in one request. If the API call exceeds the limit of 1000 promo codes the response will return a 400 error. For updating more than 1000 promo codes we recommend to break them into multiple API calls