All Collections
Technical Documentation
The booking widget
Pre-filling booking data in widget URL
Pre-filling booking data in widget URL

Customer data can be pre-filled in the booking process by passing parameters in the src URL address

Ruta Vareikaite avatar
Written by Ruta Vareikaite
Updated over a week ago

In order to use Appointedd pre-filling functionality in widget URL, first of all, you will need to create your widget and copy the URL. This can be done by going to the Booking tools tab โ†’ Manage booking widgets โ†’ Create new widget.

After saving the widget, you can then copy the widget URL:

Once you have your widget URL, simply follow the below example to structure the URL parameters to pre-fill the following data:

  • First name

  • Last name

  • Email address

  • Phone number

  • Booking notes (url encoded)

  • Any custom fields*, specified by ID.

Example

https://mybusinessname.appointedd.com/app/654a4588f02ac14661e03ff3?
customerPrefill[firstname]=greg&
customerPrefill[lastname]=Dickson&
customerPrefill[email]=greg@appointedd.com&
customerPrefill[mobile]=447777777777&
customerPrefill[customFields][hidden_id_field]=123456&
notesPrefill=These%20notes%20will%20be%20prefilled

Hidden pre-filled custom fields


As well as those custom fields which display on the booking widget for the customer to complete, it is possible to pre-fill custom fields which do not display on the widget for the customer. These custom fields would be created as internal only within the Appointedd web application.

Pre-filling fields which donโ€™t display to the customer allows the business to pass data into Appointedd without displaying that information in the widget for the customer to see or edit. This can be useful for passing data such as the source of the customer to determine which marketing campaign they arrived at the booking process from, birthdays, a case number etc.


If you have any feedback we would love to hear it ๐Ÿ‘‚


โ€‹

Keywords: prefilling, pre-fill, prefill, prefiling, prefil

Did this answer your question?