curl --location --request GET 'https://aff-api.uppromote.com/api/v2/coupons' \
--header 'Accept: application/json' \
--header 'Authorization: ****************************' \
--header 'Content-Type: application/json'
{
"status": 200,
"message": "success",
"data": [
{
"id": 158201,
"affiliate_id": 1970615,
"affiliate_email": "example@gmail.com",
"coupon": "TEST12",
"description": "",
"created_at": "2024-07-11T06:58:59Z"
},
{
"id": 163064,
"affiliate_id": 1970615,
"affiliate_email": "example@gmail.com",
"coupon": "TESTJ",
"description": null,
"created_at": "2025-04-09T06:53:05Z"
}
]
}