— transfer classes. You can limit the results to certain classes from the list:
- MCR - Micro
- ECN - Economy
- CMT - Comfort
- BSN - Business
- PRM - Premium
- MV4 - Minivan 4pax
- MB7 - Minibus 7pax
- PM6 - Premium Minibus 6pax
- MB10 - Minibus 10pax
- MB13 - Minibus 13pax
- MB16 - Minibus 16pax
- MB19 - Minibus 19pax
By default, all car classes are displayed. For example,
"transfer_options": "BSN" transfer_options_limit
— sets the number of car classes (see the previous paragraph), which will be shown in the search results, starting with the "smallest" - Micro. By default, it is unlimited. For example,
"transfer_options_limit": "4" display_currency
— The currency in which the transfer price is displayed. Specify one of three options here: USD, EUR, RUB. Write the currency in uppercase! By default, the currency is determined by the language parameter value (USD for en, RUB for ru). For example,
"display_currency": "USD" height
— maximum height of the widget in pixels. A vertical scroll bar will appear if the widget content is larger. The default height of the widget is 400 pixels. If there is no such a parameter in the code, the height will vary depending on the content.
For example, "height": "600" ref_params
— insert here your partner ID, a list in key-value format. type
— widget type. If empty, the search widget is used. If you want to place a widget with classes on your page, specify the following in the parameters: "type": "transfers". For example,
— lets you create deep links with a pre-set route. You can add to an URL departure and/or destination points, and country to search a transfer when this parameter is enabled. The points should be added in this order:
where: country - is a country name in English;
departure and destination points - the names of the points in English or IATA code.
The parts /country/name, /from/departure_point, /to/destination_point are not necessarily, i.e. just one of them can be specified. Example:
A widget will be opened for the specified point/points/country.
Also, this parameter will help to create a deep link: you need to specify the departure and/or destination points in the widget's fields and you get the deep link URL in the address line. Note:
1. You need to renew the link after adding the point/points/country;
2. the link will be prioritized over the other widget settings.
This feature is enabled by default: "deep_link": true. If you need to disable it just change the value to false.
You can also customize the widget design for your site - change the color of the buttons, background, font, etc.
For example, it may become like this: