Skip to main content

Create or update LOS for an apartment

POST 

/v2/los

Operation ID: upsertLos

Sets prices and availability of the apartment as length-of-stay (LOS) data: for each check-in date, one entry per number of guests whose price[N] is the total price of an (N+1)-night stay (0 = this length of stay is not bookable, at most 62 values). Each call replaces all LOS data of its rateId (the default rate if omitted): check-in dates you leave out are removed, other rates are kept. Pushing REFUNDABLE or NON_REFUNDABLE removes the default rate, so either use only the default rate or push both named rates; while REFUNDABLE or NON_REFUNDABLE data is stored, a push for the default rate is discarded (404), so delete the named rates first to go back to a single rate. Apartments priced with LOS ignore data sent to the deprecated availability and rates endpoints.

Request​

Responses​

Successful creation or update of LOS for an apartment