We are excited to announce the new Bookings API. Using the Bookings API you can create a custom booking experience for the services you offer on your site.
For example, you can use the Bookings API to create a class schedule, where users first choose the day they want to take a class and are then presented with the classes that are available on that day.
How does it work?
The Bookings API consists of two functions that can be used in conjunction with the Bookings collections.
API Functions:
getServiceAvailability( ) - Use this function to find out which slots are still available for a service and then present those slots to your users.
checkoutBooking( ) - Use this function once users have selected one of the available slots you presented to them. This function will book the selected service and process payments for the service if necessary.
To learn more about the Bookings API, see the API Reference.
Bookings Collections:
Services - Information about the services you offer.
Schedule - Information about each service's schedule.
Staff - Information about your staff members.
To learn more about the Bookings collections, see the Services, Schedule, and Staff articles.
Learn More
To learn how to use the Bookings API in a typical bookings flow, see Creating a Custom Bookings Experience.
Keep an eye out for more articles and examples about the Bookings API coming soon.
My organization offers every week a different list of classes (about 80 of them). All class details are currently kept in an Excel file, but creating the list of classes in Wix Bookings every week manually, by adding the details one by one, is too time-consuming. Unfortunately the Services Collection in Wix Bookings is read-only. Is there a way (with this new API or by some other form of automation) to create the list of available classes by importing the data from the Excel file? or can classes only be added manually one by one ? Thanks!
When paying online, is there a way to pass the name and telephone number the "Your details" popup form or skip this form and go straight to payment method page?
It would be great if you could also add new services and staff via the bookings api. Adding to that it would also be great if there was a calendar module that we could add to our sites, so that staff and site members can create and manipulate their services and working hours, and see when they are booked. This would be especially great for business with a lot of staff or for platforms.
checkoutbooking() api is giving me "Over capacity" error. It used to work perfectly before. Please fix it. I have to deliver a working website to my client and this is the core part of it.
Hey, I created a custom booking using the api but it doesn’t book... it always gets rejected...
i don’t understand what I’m doing wrong... I followed the tutorial but still it doesn‘t work...
is there a problem with the api?
Hi Sam, do these collections allow the usage of hooks? I'm trying to do afterInsert. I've tried PrivateMemberData and Blog$Posts and they don't seem to be working :(
Hi Sam,
Is there a way of generating Guest Lists and retrieving the information from Back-end CRM to a live site with WIX Bookings?
Thanks
Chris
I mean..WIX Booking API before WIX Forum and Blog API? I don't know man...Great update but still let's keep it moving boys we need those API's BAD!