Skip to main content

Available Methods


list

List bookings GET /api/v1/bookings Signature: lb.bookings.list({ query?: \{ user_id, place_id, start_date, end_date, limit, offset \} }) Parameters: Returns: Response: ['array', 'null']

create

Create a booking POST /api/v1/bookings Signature: lb.bookings.create({ body: \{ ... \} }) Parameters: Returns:

check-availability

Check place availability for a time slot POST /api/v1/bookings/check-availability Signature: lb.bookings.check-availability({ body: \{ ... \} }) Parameters: Returns:

place-schedule

Get all bookings for a place within a date range GET /api/v1/bookings/places/{place_id}/schedule Signature: lb.bookings.place-schedule({ path: \{ place_id \}, query?: \{ start_date, end_date \} }) Parameters: Returns: Response: ['array', 'null']

delete

Delete a booking DELETE /api/v1/bookings/{id} Signature: lb.bookings.delete({ path: \{ id \} }) Parameters:

get

Get a booking by ID GET /api/v1/bookings/{id} Signature: lb.bookings.get({ path: \{ id \} }) Parameters: Returns:

update

Update a booking PUT /api/v1/bookings/{id} Signature: lb.bookings.update({ path: \{ id \}, body: \{ ... \} }) Parameters: Returns:
Last modified on June 11, 2026