Promotion Detail
Get Promotion Detail
GET/promotion/{id}
Show the detail of the promotion
Headers
Name
Value
Accept
application/json
Params
Name
Type
Description
client_code
string
client identifier
Response
{
"status": "success",
"status_code": 200,
"data": {
"id": 88,
"period": {
"start": "2024-10-01",
"end": "2024-10-31"
},
"name": "Default Promotion",
"description": "Trial<br>",
"active": true,
"photos": [],
"videos": [],
"payment": {
"id": 433,
"code": "001",
"name": "Cash",
"bank": null
},
"store": {
"id": 3016,
"code": "001",
"name": "Default Tenant",
"name_with_client": "Paint Pro - Default Tenant",
"contact_name": null,
"contact_email": null,
"contact_phone": null,
"note": "",
"unit": null,
"floor": "",
"longitude": 0,
"latitude": 0,
"altitude": 0,
"image": null,
"active": 1
},
"promotion_category": {
"id": 14,
"code": "001",
"name": "Default Category"
}
}
}{
"status": "error",
"status_code": 422,
"message": "Promotion not found.",
"errors": [
"Promotion not found."
]
}Last updated