Update coupon
PUT {{baseUrl}}/v1/applications/:applicationId/campaigns/:campaignId/coupons/:couponId
Update the specified coupon.
Important: With this PUT endpoint only, any property you do not explicitly set in your request will be set to null
.
Request Body
{"usageLimit"=>100, "discountLimit"=>30, "reservationLimit"=>45, "startDate"=>"2020-01-24T14:15:22Z", "expiryDate"=>"2023-08-24T14:15:22Z", "limits"=>[{"action"=>"createCoupon", "limit"=>1000, "period"=>"yearly", "entities"=>["Coupon"]}], "recipientIntegrationId"=>"URNGV8294NV", "isReservationMandatory"=>false, "implicitlyReserved"=>false}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |