Once you add Wix Bookings, certain pages are automatically added to your site. You use these pages to run all aspects of your Booking business; from creating services to managing your schedule each week. You can also customize each of the pages to suit your business and brand.
Another way you can customize the client's booking experience is by updating the Booking Form page, which is the last page in the booking process, so that it is preloaded with default values. This way, your clients can skip the preceding pages and proceed directly to the Booking Form page. To do this, create and share a link to a Wix site's booking form with preset, default values you choose. You set the values by adding query parameters to the Booking Form page URL.
By preloading booking form values, you can simplify the customer's booking experience when they sign up for a service.
For example, if you are sending out invitations by email as part of promoting a class or a customer needs to sign up to a haircut, you can add a shareable link in the email that already contains the event ID, date, and time. The recipient can click the link and just enter their own personal details without having to enter the event details also.
You can set default values for these fields:
bookings_startDate
and bookings_endDate
bookings_timezone
bookings_resourceId
bookings_locationId
bookings_sessionId
bookings_serviceId
Note that each type of session requires a specific set of minimum parameters when constructing the URL. These sets of parameters correspond to the information the client would have had to select if they were progressing manually through the booking pages. You can refer to the list below for the specific parameters required for each type of session
bookings_sessionId
and bookings_timezone
bookings_serviceId
and bookings_timezone
bookings_serviceId
, bookings_resourceId
, bookings_startDate
, bookings_endDate
and bookings_timezone
To create a URL with query parameters for creating a preloaded booking form, follow these steps:
You can find the full URL for a Wix site's Booking Form page by navigating to the published page in a browser.
Alternatively, you can construct the full URL for a Booking Form page on the basis of the site URL and the slug for the service. The full URL for a Booking Form page is:
To find the service slug using the Dashboard:
For example, if a Wix site's URL is www.my-example-site.com
and the service slug is initial-consultation
, the shared link URL is:
Attach any of the following query parameters to a Wix site Booking Form page URL to preset the booking form settings:
Query Parameter | Description |
---|---|
bookings_resourceId | The selected resource, identified by ID. |
bookings_timezone | Default time zone for the Booking Form page, in tz database format. For example: America/Santiago . Note: You can only select a time zone the page 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:mmsss.SSS format. |
bookings_endDate | End date for the Booking Form Page, in YYYY-MM-DDTHH:mmsss.SSS format. |
bookings_locationId | Business location, identified by ID. |
bookings_sessionId | ID of session, needed for classes. |
bookings_serviceId | ID of a service, needed for courses. |
Velo APIs are the best way to get the IDs for the query parameters:
listSessions()
.queryAvailability
.The following are examples of shareable links for a Wix site's Booking Form page with query parameters that that set preloaded values.
Preloading the class and the timezone:
Preloading the course and time-zone:
Preloading the appointment, with a resource, start date, end date and time zone:
You can send the link through various channels such as email, chat, or text, depending on what you think is the most appropriate.