PUT method to redeem code.
Name | Description |
---|---|
account_id required | Your account unique identifier to access API. |
code required | Coupon code redeemed |
contact_id | Contact ID |
campaign_id | Campaign ID |
PUT
/v2/account/:account_id/coupon_lists/redeem
Accept: application/json
Authorization: Token token={account.secret}
Content-Type: json
{
"code": "code_4",
"contact_id": ":contact_id:",
"campaign_id": ":campaign_id:"
}
200
{
"coupon_list": {
"_id": "5853d8c2edb7aacab9000045",
"name": "Coupon list",
"total_coupons": 2,
"used_coupons": 0,
"pending_coupons": 1,
"redeem_coupons": 1,
"low_limit_notification": 10,
"notification_email": "jhon.doe@cendyn.com"
}
}