Get a customer booking list and stats by customer id
Get a customer booking list and stats by customer id.
GET
/v1/bookings/customers/{id}authorization<token>
To get an API key, please contact us. We'll be happy to help you.
In: header
Path Parameters
idstring
Customer id
Format
uuidResponse Body
application/json
curl -X GET "http://localhost:4008/v1/bookings/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"canceledCount": 0,
"noShowCount": 1,
"totalCount": 3,
"bookingList": [
{
"id": "9f8e7d6c-5b4a-4c2d-8e0f-9a8b7c6d5e4f",
"status": "CONFIRMED",
"guestCount": 4,
"bookedAt": "2023-01-01T12:00:00Z",
"total": 10000,
"orderLiveId": null,
"orderId": "123e4567-e89b-12d3-a456-426614174000"
},
{
"id": "9f8e7d6c-5b4a-4c2d-8e0f-9a8b7c6d5e4f",
"status": "PAID",
"guestCount": 4,
"bookedAt": "2023-01-01T12:00:00Z",
"total": 5300,
"orderLiveId": "62806896-8ade-4ab3-9ba0-117218092606",
"orderId": null
},
{
"id": "8e7d6c5b-4a3f-2d1c-0f9e-8b7c6d5e4f3a",
"status": "NO_SHOW",
"guestCount": 2,
"bookedAt": "2023-01-02T15:30:00Z",
"total": null,
"orderLiveId": null,
"orderId": null
}
]
}