How to Create a Quick-Booking Form with the Wix Bookings API

Learn how to create a quick-booking form for your services using the Wix Bookings API. In this video, you’ll build a form that lets clients quickly book an appointment for the current week. You’ll use a lightbox, text and a variety of user input elements to create and design the form. Then, you’ll create a new collection, “pendingAppointments”, to store client info and manage the status of your booking requests (i.e., pending, approved or dismissed). You’ll add several functions to ensure that when clients make a booking request, they’ll only see available dates and times—all of your requests marked as “pending” or “approved” will be filtered out and not appear as an option in the form. When a potential client submits a booking request, all their info will appear in your “pendingAppointments” collection as a new item and their status will be labeled as “pending” until you approve or decline their request.

Example Demonstrates

wix-location API

wix-bookings API

wix-data API

More Resources

To start using Corvid:  Go to the Wix Editor > Dev Mode > Turn on Dev Mode