Booking List
Endpoint
GET /api/v1/client/bookingsQuery Parameters
Parameter
Type
Description
Example Request
curl "/api/v1/client/bookings?status=confirmed&limit=2" \
-H "X-API-Key: <your_api_key>"Example Response (200 OK)
{
"results": [
{
"id": "e7b7f6bb-6c0c-4e2c-9b3e-9c6f2a1c0a77",
"status": "confirmed",
"total": 52000,
"created": "2025-10-01T10:00:00Z",
"updated": "2025-10-02T11:05:13Z",
"paidDays": 2,
"description": "Premium Room choice",
"guest": {
"id": "7f99c230-8f64-4ecb-8804-d9ea5496bf63",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"phone": "+123456789"
},
"stay_dates": [
{
"date": "2025-12-19",
"amount": 26000,
"room": "7b9e2f12-34cd-4e89-bf45-4a18f5a8a1f0",
"bed": "bb9c708a-2695-435f-a1eb-1bf61381ad77"
},
{
"date": "2025-12-20",
"amount": 26000,
"room": "7b9e2f12-34cd-4e89-bf45-4a18f5a8a1f0",
"bed": "bb9c708a-2695-435f-a1eb-1bf61381ad77"
}
]
}
],
"total_count": 1,
"total_pages": 1,
"current_page": 1
}Last updated