Rates

Update apartment rate plans

post/v2/rates

Request

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

Query parameters

providerApartmentIdstring
providerstring
holiduApartmentIdinteger

Request body

Example request

{
  "ratePlans": [
    {
      "ratePlanId": "SHORT_STAY_RATE",
      "guests": 2,
      "currency": "EUR",
      "minimumStay": 1,
      "maximumStay": 30,
      "dailyRates": [
        {
          "date": "2023-05-01",
          "price": 95,
          "priceForExtraPerson": 20,
          "checkinAllowed": true
        }
      ]
    }
  ]
}

Response

Successful creation or update of rate plans for the apartment

Example response

{
  "ratePlans": [
    {
      "ratePlanId": "SHORT_STAY_RATE",
      "guests": 2,
      "currency": "EUR",
      "minimumStay": 1,
      "maximumStay": 30,
      "dailyRates": [
        {
          "date": "2023-05-01",
          "price": 95,
          "priceForExtraPerson": 20,
          "checkinAllowed": true
        }
      ]
    }
  ]
}

Changes

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