Hotels API
To integration hotels API
Comprehensive guide to create new hotels module supplier API
01. from main folders of modules open the modules folder as described below
02. then select the hotels module and create new folder based on the new name of your supplier
03. In my case I have given the name of supplier booking
04. Create your project files in the newly created module and get started with API creation for the required endpoints and the params as suggestion below.
SEARCH API
1
ENDPOINT ./modules/booking/v1/api/search
Copied!
Param
Example Value
Description
city
dubai
name of destination
checkin
2022-02-25
checkin date
checkout
2022-02-28
checkout date
nationality
IN
nationality country code
adults
2
number of adults
childs
0
number of childs
child_age
[{"age":"5"},{"age":"6"}]
children ages
rooms
1
number of rooms
lang
en
language name
currency
USD
name of currency
Copy link