Booking Terms

Update cancellation conditions for apartment

Replaces any pre-configured cancellation policies with new ones for Apartment

post/v2/apartments/cancellation-policy

Request

  • Base URL: https://provider-api-sandbox.holidu.com
  • URL: https://provider-api-sandbox.holidu.com/v2/apartments/cancellation-policy
  • Auth: API key in header api-key

Query parameters

providerApartmentIdstring
providerstring
holiduApartmentIdinteger

Request body

daysBeforeArrivalinteger required

Number of days before arrival for which this cancellation policy is valid

cancellationFeeInPercentnumber required

Booking percentage which is non-refundable

rateIdstring string

Rate identifier

Example request

[
  {
    "daysBeforeArrival": 10,
    "cancellationFeeInPercent": 30,
    "rateId": "NON_REFUNDABLE"
  }
]

Response

Cancellation policies updated

daysBeforeArrivalinteger required

Number of days before arrival for which this cancellation policy is valid

cancellationFeeInPercentnumber required

Booking percentage which is non-refundable

rateIdstring string

Rate identifier

Example response

[
  {
    "daysBeforeArrival": 10,
    "cancellationFeeInPercent": 30,
    "rateId": "NON_REFUNDABLE"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.