Skip to main content

Reservation

With full=true, the data properties of the reservation are added as top-level keys.

Fields​

FieldRequiredTypeDescription
idNostringResource identifier used by TheBooking.
serviceIdNostringTheBooking service identifier.
customerIdNostringTheBooking customer identifier.
providerIdNointeger or stringTheBooking provider identifier.
startNointeger (int64)Unix timestamp for the slot start.
endNointeger (int64)Unix timestamp for the slot end.
statusNoenum(pending, confirmed, cancelled)Current reservation status.
bookedForNoarray of stringThe names of the person the booking is for, from the booking-form field marked for it. Empty when there is none.
internalNoteNostringThe staff's internal note, never shown to customers. With full=true only.

Example​

{
"id": "resource_123",
"serviceId": "service_123",
"customerId": "customer_123",
"providerId": 123,
"start": 1779148800,
"end": 1779152400,
"status": "pending",
"bookedFor": [
"Leo Grant"
],
"internalNote": "string"
}