Redeem Reservation Detail
The Redeem Request Detail feature displays the detail of pending redeem request that have not yet been approved. This allows users to review and take necessary actions for requests that require approval before proceeding.
Get Redeem Reservation Detail
GET /customer/transaction/redeem-reservation/{id}/detail
Get the transaction detail of the redeem-reservation type.
Headers
Name
Value
Accept
application/json
Authorization
Bearer <token>
Params
Name
Type
Description
client_code
string
client identifier
customer_id
number
ID of the customers
Response
{
"status": "success",
"status_code": 200,
"data": {
"id": 1,
"booking_code": "1002143351",
"valid_until": "2500-01-01 00:00:00",
"total_point": 10,
"total_amount": 10,
"status": "active",
"created_at": "2018-08-16 14:27:05",
"updated_at": "2018-08-16 14:27:05",
"store": null,
"details": [{
"id": 1,
"total_point": 10,
"total_amount": 10,
"quantity": 10,
"created_at": "2018-08-16 14:27:05",
"updated_at": "2018-08-16 14:27:05",
"product": {
"id": 1,
"code": "0001",
"name": "Product 1",
"period": {
"start": "2018-08-16",
"end": "2018-09-30"
},
"price": 1,
"point": 1,
"stock": 980,
"type": "product",
"limit": null,
"note": null,
"active": true,
"images": []
}
}]
}
}{
"status": "error",
"status_code": 422,
"message": "Client not found.",
"errors": [
"Client not found."
]
}Last updated