The booking form is one of several Bookings pages that is automatically added to a site when Wix Bookings is installed. It is the last page in the booking process. You can customize each Bookings page to best suit the business and brand.
You can customize the booking form by preloading default values. This simplifies customer experience when they book a service and allows them to skip preceding Bookings pages. To do so, specify preloaded default values as query parameters in the booking form page URL and direct customers to it. Customers can still change the selected values.
For example, if you are sending out invitations by email as part of promoting a class, you can add a shareable link in the email that already contains the event ID, date, and time. Once the recipient clicks the link, they just have to enter their own personal details without having to also enter event details.
You can set default values for these parameters:
Query Parameter | Description |
---|---|
bookings_resourceId | Resource ID. Required for appointments. |
bookings_timezone | Time zone in tz database format. Always required. For example: America/Santiago . Note: You can only select a time zone the Wix site supports as an option. For more information, see Setting the Time Zone Display. |
bookings_startDate | Initial date to open in the Booking Form page, in YYYY-MM-DDTHH:mm:ss.SSS format. Required for appointments. |
bookings_endDate | End date for the Booking Form Page, in YYYY-MM-DDTHH:mm:ss.SSS format. Required for appointments. |
bookings_locationId | ID of the business location. |
bookings_sessionId | Session ID. Required for classes. You can use Query Availability to retrieve available appointments and class sessions. |
bookings_serviceId | Service ID. Required for courses and appointments. |
Classes, courses, and appointment-based services require a different set of minimum parameters when constructing the URL, since the final URL must cover all the information a customer would have had to specify if they were progressing manually through the Bookings pages. These are the minimum required parameters:
bookings_sessionId
and bookings_timezone
.bookings_serviceId
and bookings_timezone
.bookings_serviceId
, bookings_resourceId
, bookings_startDate
, bookings_endDate
and bookings_timezone
.To send a preloaded, shareable booking form link:
These are shareable booking form sample links with preloaded default values.
Preloading the class session and time zone:
Preloading the course and time zone:
Preloading the appointment with resource, start date, end date, and time zone: