Inventory update

This API enables customers to update their inventory by submitting a new file containing hotel data.

The API provides the option to automatically run mapping for all active partners. When mapping is executed, it will use the mapping model that was used in the last existing mapping runs of the partners.

To experiment with this API call, use the following sandbox API key:

88cd7ff1-e3af-4377-a5b0-38a4b483e92f

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

your inventory name (Required field)

string

hotel code position in your csv (starting from postion 0) (Required field)

string

hotel name position in your csv (Required field)

string

hotel address position (Required field)

string

hotel city position (Recommanded field)

string

hotel country position (Required)

string

hotel latitude (Required field)

string

hotel longitude (Required field)

string

hotel city id position in your csv (Optional field) if not in the inventory then put -1 or remove field

string

hotel chain position in your csv (Optional field) if not in the inventory then put -1 or remove field

string

hotel type position in your csv (Optional field) if not in the inventory then put -1 or remove field

string

hotel stars position in your csv (Optional field) if not in the inventory then put -1 or remove field

string

hotel postal code position in your csv (Optional field) if not in the inventory then put -1 or remove field

file

Your inventory csv

string
Defaults to 0

boolean value (0 or 1) 1 : upload inventory and run mapping on all active mappings with same model

string | null

list of partner_ids concatenated by comma, eg: 12,13,14. Here 12, 13 and 14 are partner_ids

boolean
Defaults to false

boolean value (true or false) true :Run the mapping only on the newly added hotels from your inventory using the opportunities list from the previous mapping

string
Defaults to update

string value (add or update) : Choose 'update' to replace the existing hotels or 'add' to keep the existing hotels and add your file on top of it

Headers
string
required
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json