Get all redemption details
Use this endpoint to retrieve a list of redemption records. You can filter the records using parameters, such as couponCode
, userId
, email
, orderId
, or storeId
.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
24
x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.
"12"
A unique request ID.
"263e731c-45c8-11ed-b878-0242ac120002"
Query Parameters
The maximum number of records per page.
1 <= x <= 100
Specifies the record from which the search will start, effectively skipping all records before this point.
1000
"H796HJHGANLSADS"
Promotion ID for which you want to get the redemption records
"62d172529da20e000924dfb5"
Coupon code for which you want to get the redemption records
"BESTSUMMER"
ID of the user for whom you want to get the redemption records
"5f8b8b2a9da20e000924dfb5"
Email address of the user for whom you want to get the redemption records
"guest@gmail.com"
Order ID associated with the redemption records
"1590-2016-123456"
Comma-separated IDs of the stores for which you want to get the redemption records
10001
Status by which you want to filter the redemption records. The options are:
ACTIVE
: Refers to the created redemption records.INACTIVE
: Refers to the redemption records that were generated but are inactive due to order cancellations.
ACTIVE
, INACTIVE
"ACTIVE"
If specified, it returns the redemption records that are created from this specific date
"2023-10-18T19:00:51.459Z"
If specified, it returns the created redemption records till this specific date
"2023-11-18T19:00:51.459Z"
If specified, it returns the redemption records that are updated from this specific date
"2023-10-18T19:00:51.459Z"
If specified, it returns the updated redemption records till this specific date
"2023-11-18T19:00:51.459Z"
Additional attributes to filter redemption records
"{\"name\":\"brand\",\"values\":\"Nike\"}"
Promotion-specific additional attributes to filter redemption records
"{\"name\":\"WeboutletValid\",\"values\":\"NO\"}"
Promotion name by which you want to filter the redemption records
"Summer promotion"
This boolean query parameter is used to filter for redemptions associated with either implicit or non-implicit promotions. If the filter isn't provided, the response will include all redemptions.
false
Filter that indicates if the redemptions will belong to SINGLE or MULTI use coupon. If not sent, all redemptions will be returned.
SINGLE_USE
, MULTI_USE
"SINGLE_USE"
Response
OK
Redemption information