Update cancellation conditions for apartment
POST/v2/apartments/cancellation-policy
Operation ID: updateCancellationConditions
Sets the cancellation fee tiers of the apartment: each tier charges cancellationFeeInPercent of the booking amount for cancellations up to and including the day daysBeforeArrival days before arrival, once the previous (longer) tier has ended. Include a tier with daysBeforeArrival 0, the fee for late cancellations and no-shows; the API does not reject a list without one. Tiers are grouped by rateId (the default rate if omitted): the tiers of each rate in the request replace the stored ones, other rates are kept and an empty list changes nothing. Pushing REFUNDABLE or NON_REFUNDABLE tiers removes the default ones, and while they are stored, tiers sent for the default rate are discarded although the call answers 200 with them.
Request
Responses
- 200
- 400
- 401
- 404
- 500
Cancellation policies updated
Bad Request
Authentication error
Apartment does not exist
Internal server error