Redeem Product Detail
You may skip this API if all the data you need is already available in the Redeem Product List.
Get Redeem Product Detail
GET /redeem/product/{id}
Get redeem product detail by product id
Headers
Name
Value
Accept
application/json
Authorization
Bearer <token>
Params
Name
Type
Description
client_code
string
client identifier
{id}
Name
Type
Description
redeem_product_id
number
Fill the id with redeem product Identifier
Response
{
"status": "success",
"status_code": 200,
"data": {
"id": 1348,
"code": "MPDANA10",
"name": "DANA Rp 10.000",
"source": "External",
"period": {
"start": "2024-10-09",
"end": "2024-12-31"
},
"price": 12500,
"point": 12500,
"lucky_draw_point": 0,
"stock": 0,
"type": "ppob",
"limit": null,
"note": null,
"terms": "-",
"instructions": null,
"active": true,
"images": [
"https://storagedev.loyal.id/dana.jpeg"
],
"is_all_stores": false,
"product_category": {
"id": 330,
"code": "001",
"name": "Emoney",
"image": null
},
"unit": {
"id": 228,
"code": "001",
"name": "pcs"
},
"stores": []
}
}{
"status": "error",
"status_code": 422,
"message": "Redeem Product not found.",
"errors": [
"Redeem Product not found."
]
}Last updated