post
https://api.attentivemobile.com/v1/coupons/coupon-pool//create
Note: Once the offer(s) has been created, please reach out to an Attentive team member to enable this API feature for you
Make a call to this asynchronous endpoint to create new discount codes in an existing offer.
Validation rules
- Maximum of 200,000 discount codes per request.
distributionStartmust be beforedistributionStop, in UTC ISO format (e.g.,2023-02-14T21:29:25Z).- Date ranges must not overlap with ranges from previous uploads to the same offer. Uploading to an existing range is allowed.
- All uploads in an offer must use the same distribution type. If previous uploads include expiration dates, new uploads must also include them, and vice versa.
- The offer (coupon pool) must exist and belong to your account.