Deeplink to landing page

👍

Detailed information about deeplink structure and allowed parameters can be find here

Landing page displays a list of all available journey legs where a user can choose a journey to book.

Validation

In order to make a deep link valid, pickup or dropoff information should be provided to each leg as well as a time for a corresponding location.

Pickup information can be provided via pickup OR pickup-place_id OR pickup-kpoi OR pickup-lat and pickup-lng parameters.

Time for a corresponding location (pickup or dropoff) must be provided pickup-time parameter. It can be ignored if booking-type is ASAP.

Dropoff information can be provided via dropoff OR dropoff-place_id OR dropoff-kpoi OR dropoff-lat and dropoff-lng parameters.

In case of failed validation, a user would be redirected to an empty form with ability to enter his booking details manually.

For example,

Parameters providedValidation result
leg-1-pickup, leg-1-pickup-time, booking-type=PRE-BOOKtrue
leg-1-pickup-kpoi, leg-1-pickup-timetrue
by default booking type is PRE-BOOK
leg-1-pickup-kpoi, booking-type=ASAPtrue
leg-1-pickup-kpoi, leg-1-booking-type=ASAP, booking-type=PRE-BOOKtrue
generic booking type is PRE-BOOK but it is overwritten by leg-1-booking-type
leg-1-pickup-place_id, leg-1-pickup-timetrue
leg-1-pickup-place_id, leg-1-pickup-time, leg-1-booking-type=PRE-BOOKtrue
leg-1-dropoff, leg-2-pickup, leg-2-pickup-timetrue
leg-1-dropoff, leg-2-pickup-timefalse
leg-2-pickup should be provided
leg-1-dropoff, leg-2-pickup, leg-2-pickup-time, booking-type=ASAPfalse
booking type is ASAP but pickup time is specified
leg-1-dropoff, leg-2-pickup, booking-type=PRE-BOOKfalse
leg-2-pickup-time should be provided

Examples

1. From an address to an address with trip details prefilling

/landing?leg-1-pickup=Hilton%20London&leg-1-dropoff-place_id=ChIJhza7Doio2EcRSxpLpqDodAc&leg-1-pickup-time=2020-08-09T18%3A31%3A42-03%3A30&email=email%40of.user&luggage=2&passengers=3&first-name=first+name&last-name=last+name&phone-number=%2B441234567890&booking-type=PRE-BOOK

17241724

2. From an address to X

/landing?leg-1-pickup=Mercure%20Paris%20Hotel&leg-1-pickup-time=2020-08-09T18:31:42-03:30&traveller-locale=en-GB&passengers=2&booking-type=PRE-BOOK

17241724

3. From a train station KPOI to X

/landing?leg-1-pickup-kpoi=FRGD&leg-1-pickup-time=2020-08-09T18:31:42-03:30&passengers=2&booking-type=PRE-BOOK

17241724

4. From X to a hotel and from a hotel to Y

/landing?leg-1-dropoff=Mercure%20Paris%20Hotel&leg-2-pickup=45+Rue+du+Dr+Babinski%2C+75018+Paris&leg-2-pickup-time=2020-08-09T18:31:42-03:30

5. From X to Y with 2 passengers, 2 bags and train information

/landing?leg-1-pickup=Mercure%20Paris%20Hotel&leg-1-pickup-time=2020-08-09T18:31:42-03:30&leg-1-M-train=4312&leg-1-M-train-time=2020-08-09T17:31:42-03:30&leg-1-M-passengers=2&leg-1-M-luggage=2&leg-1-dropoff=45+Rue+du+Dr+Babinski%2C+75018+Paris&traveller-locale=en-GB&booking-type=PRE-BOOK


What’s Next