Bookings

Update booking details

put/v2/bookings

Request

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

Query parameters

providerBookingIdstring required
providerstring

Request body

providerApartmentIdstring required

ID of the apartment in provider database

arrivalstring date required

Date of arrival

departurestring date required

Date of departure

numberOfGuestsinteger

Number of guests

rateIdstring

Rate identifier

Example request

{
  "providerApartmentId": "123456",
  "arrival": "2020-10-20",
  "departure": "2020-10-30",
  "bareRentalPrice": {
    "amount": 100,
    "currency": "EUR"
  },
  "totalPrice": {
    "amount": 100,
    "currency": "EUR"
  },
  "commissionablePrice": {
    "amount": 100,
    "currency": "EUR"
  },
  "costs": [
    {
      "name": "FINAL_CLEANING",
      "paymentTime": "WITH_RATES",
      "totalPrice": {
        "amount": 100,
        "currency": "EUR"
      }
    }
  ],
  "numberOfGuests": 2,
  "rateId": "DEFAULT"
}

Response

Booking data has been updated successfully

providerApartmentIdstring
arrivalstring date
departurestring date
specialCustomerRequeststring
rateIdstring

Example response

{
  "customer": {
    "country": "DE"
  }
}

Changes

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