List all existing coupon_lists
Name | Description |
---|---|
account_id required | Your account unique identifier to access API. |
page | Page to retrieve |
per_page | Items per page: Max:100 , default:50 |
GET
/v2/account/:account_id/coupon_lists
Accept: application/json
Authorization: Token token={account.secret}
200
{
"coupon_lists": [
{
"_id": "5853d8c2edb7aacab9000045",
"name": "Coupon list",
"total_coupons": 4,
"used_coupons": 0,
"pending_coupons": 4,
"redeem_coupons": 0,
"low_limit_notification": 10,
"notification_email": "jhon.doe@cendyn.com"
},
{
"_id": "5853d8c2edb7aacab9000046",
"name": "Coupon list 2",
"total_coupons": 4,
"used_coupons": 0,
"pending_coupons": 4,
"redeem_coupons": 0,
"low_limit_notification": 10,
"notification_email": "jhon.doe@cendyn.com"
},
{
"_id": "5853d8c2edb7aacab9000047",
"name": "Coupon list 3",
"total_coupons": 4,
"used_coupons": 0,
"pending_coupons": 4,
"redeem_coupons": 0,
"low_limit_notification": 10,
"notification_email": "jhon.doe@cendyn.com"
}
]
}