Skip to main content

ReservationEdit

ReservationEdit schema used by the TheBooking public API.

Fields

FieldRequiredTypeDescription
idYesstringResource 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.
dataNoobjectAdditional structured data accepted by the route.

Example

{
"id": "resource_123",
"serviceId": "service_123",
"customerId": "customer_123",
"providerId": 123,
"start": 1779148800,
"end": 1779152400,
"status": "pending",
"data": {}
}