Reservation
With full=true, the data properties of the reservation are added as top-level keys.
Fields
| Field | Required | Type | Description |
|---|---|---|---|
id | No | string | Resource identifier used by TheBooking. |
serviceId | No | string | TheBooking service identifier. |
customerId | No | string | TheBooking customer identifier. |
providerId | No | integer or string | TheBooking provider identifier. |
start | No | integer (int64) | Unix timestamp for the slot start. |
end | No | integer (int64) | Unix timestamp for the slot end. |
status | No | enum(pending, confirmed, cancelled) | Current reservation status. |
bookedFor | No | array of string | The names of the person the booking is for, from the booking-form field marked for it. Empty when there is none. |
internalNote | No | string | The 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"
}