Update coupons
PUT {{baseUrl}}/v1/applications/:applicationId/campaigns/:campaignId/coupons
Update all coupons, or a specific batch of coupons in the given campaign.
You can find the batchId
in the Coupons view of your Application
in the Campaign Manager, or you can use List coupons.
Important
Only send sequential requests to this endpoint.
Requests to this endpoint timeout after 30 minutes. If you hit a timeout, reach out to our support team.
To update a specific coupon, use Update coupon.
Request Body
{"usageLimit"=>100, "discountLimit"=>30, "reservationLimit"=>45, "startDate"=>"2020-01-24T14:15:22Z", "expiryDate"=>"2023-08-24T14:15:22Z", "batchID"=>"string"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |