Get Redemptions
This endpoint gets list of redemptions for a customer.
| GET /customers/<customerId>/redemptions?startdate=<startDate>&enddate=<endDate>
|
Path Param |
Type |
Required |
Description |
customerId |
int |
Required |
Unique identifier for customer |
Query Param |
Type |
Required |
Description |
merchantName |
string |
Optional |
The name of the merchant this offer is for. If provided, then this should be exact match of Merchant name |
startDate |
string |
Optional |
Date string representing the from which date it should search for redemption |
endDate |
string |
Optional |
Date string representing the to which date it should search for redemption |
Output
This endpoint returns an array of RedemptionResponse.
Example
Request
| GET /v1/customers/2349/redemptions?startdate=2021-07-07&enddate=2021-10-03
|
Response
| [
{
"offerRedemptionId": 23,
"merchantName": "Ace Hardware",
"offerId": 1000024990,
"customerId": 2349,
"generatedDt": "2021-10-25T00:00:00",
"paidDt": "2021-11-08T00:00:00",
"rewardAmount": 2
}
]
|