Ask a Question
Back to All

API - Lock a day (without booking it)


Looking to create unavailable periods via API, for now I have been using the API to create fake bookings but it's not perfect.

We define our parameters so that a booking is a minimum of 2 days (=2 nights), so the arrival and departure needs to be 3 days separated.

  • When using the API to book for a day, I cannot because the parameters define above. Can you confirm that the API takes into account the booking parameters defined on the account?
  • The API question is: I know that it is possible to do a booking to block a date, you propose to create a "closed period" which would be great but I can not find it in the API, can you confirm that this "blocked period" option does not exist in the APi

Any help on that would be great,