Reservation
Reservation schema used by the TheBooking public API.
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. |
Example
{
"id": "resource_123",
"serviceId": "service_123",
"customerId": "customer_123",
"providerId": 123,
"start": 1779148800,
"end": 1779152400,
"status": "pending"
}