Skip to main content

ReservationCreate

ReservationCreate schema used by the TheBooking public API.

Fields

FieldRequiredTypeDescription
serviceIdYesstringTheBooking service identifier.
customerIdYesstringTheBooking customer identifier.
providerIdYesinteger or stringTheBooking provider identifier.
availabilityIdYesstringCanonical slot identifier returned by GET /availability/get/.
startYesinteger (int64)Unix timestamp for the slot start.
endYesinteger (int64)Unix timestamp for the slot end.
dataNoobjectAdditional structured data accepted by the route.

Example

{
"serviceId": "service_123",
"customerId": "customer_123",
"providerId": 123,
"availabilityId": "slot_123",
"start": 1779148800,
"end": 1779152400,
"data": {}
}