API Sample - Book a Reservation

A quick few steps to getting availability and booking a reservation.

Jordan Gilman avatar
Written by Jordan Gilman
Updated over a week ago

This is the flow for booking a reservation via our API:

  1. Call schedule.asmx/returnScheduleAvailability with parameters from_date, to_date and the schedule_item_no. We recommend passing in the timezone_offset too.

  2. Call schedule.asmx/bookScheduleSlot with parameters customer_no, book_status = “booked”, schedule_item_no, schedule_slot_no, slot_start and slot_end.

  3. You can then pull back the reservation by using schedule.asmx/returnBookedSlots and passing in customer_no, sort_by = “upcoming” and schedule_book_no to bring back a specific or leave out to get next upcoming. You can use return_total to limit.

Did this answer your question?