In total, the request can include a maximum of nine passengers with seats (adults + children). adults/children/infants - the number of adults, children, and infants - numeric.Recommended format: Y-m-d (yy-mm-dd - JQuery) depart_date/return_date - departure/return dates - line.origin_iata/destination_iata - departure/arrival points - line.The number of passengers and the flight class are set common for the whole set of segments. Please note that the segment number must be specified only in the directions of the flight and dates. =LAX&segments=NYC&segments=&segments=LED&segments=BKK&segments=&adults=1&children=0&infants=0&trip_class=0&with_request=true The second segment is segments and the third segment is segments, etc. This parameter is added before each standard parameter in the link. Affiliate links to the search for complex routes are formed the same way. Complex (multi-city) route searchĪ complex or multi-city route consists of several segments - the first flight, the second one, and so on. Sample search query with search initialization for both types of links :Īfter you get the link, you should use deep link creation form or the "Create a link" widget as described above. If the number of infants is larger than the number of adults, the excess number of infants is counted as children (with their own seats). The number of infants cannot exceed the number of adults. Infants travel without their own seats and are carried by adults. Up to nine seat-occupying passengers (adults + children) can be added in a single query. adults/children/infants - number of adults, children, and infants – numbers.Initiate search automatically (true: the search is loaded, false: the form is filled out but the search does not start) “One way only” check box, equal to 1 or 0.Ĭurrency of search result (RUB, USD, EUR, UAH, CNY, KZT, AZN, BYN, THB, KGS, UZS) Recommended format: "Y-m-d" ("yy-mm-dd" for JQuery). Recommended values: "IATA code for city".ĭeparture date. Recommended values: "IATA code for city".Īrrival city. Please note that the first parameter is added to the address using the " ?" question mark character, and all the others using the " &" character.ĭeparture city. For a White Label, use the affiliate subdomain on which the White Label is hosted. Where DomainName is " " for the search results page and " " for the search form, except for when a link leads to an affiliate White Label site. Query URL to the pre-set search form: DomainName/flights/ Query URL to the search results page : DomainName/searches/new You need to add the parameters to the URL, which are described in the table below. You can also create a link for a pre-set search form with your partner ID:ĭepending on the website that the link leads to, the request will differ. ![]() You need to do this after the search is finished and the list of flight tickets is displayed on the page:Īfter that, you can send this link by email or share it on social networks. The easiest way to send someone a link to the search results for flight tickets with your Travelpayouts partner ID is to copy a short link from the browser's search bar and use the deep link creation form. The affiliate link is generated automatically in the Link field on the right.Ĭopy the link from the Affiliate link field and paste it into your website.Īffiliate links to the search results page and t he pre-set search form On your account page, go to the Aviasales program page and click on the Tools section.Ĭopy any link from the Aviasales website and paste it into the Target URL field. To create an affiliate link to the flight search, you need to be signed up for Travelpayouts. Look at the short video on how to create and use affiliate links:Īffiliate text links to the flight search You can quickly create a link to any page of the travel brand's website using our extension for Chrome or using the Create link menu: The easiest way to create your Aviasales partner link Use these instructions to create your partner links to Aviasales.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |