null

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5

You will use the Holidu AVAILABILITY endpoint only if you decided to use the RATES endpoint to send the prices, instead of the LOS one.

How does it work?

All days are considered "unknown" and will be shown as unavailable on our site unless you push them as available through this endpoint (see the example on the right side). 

It is key to have this information up to date to avoid a bad user experience since we don’t make live requests to get the availabilities.

How often you should send the availability data? → please refer to the page Update schedule

{
  "provider": "BOOKINGCOM",
  "providerApartmentId": 314159265,
  "availability": {
    "availableDays": [
      "2021-06-01",
      "2021-06-02"
    ],
    "bookedDays": [
      "2021-06-03",
      "2021-06-04"
    ]
  }
}

Only if a day is sent as available AND a price is defined in the rate plans, it is shown as bookable on holidu.

  • No labels