Discussions

Ask a Question
Back to All

API MISSING BOOKING

hi,

we noticed that with the v2 api not all reservations are displayed i have made the modify

With API v1, however, it seems to return them all,

'https://api.lodgify.com/v2/reservations/bookings?page=1&size=50&includeCount=true&includeTransactions=false&includeExternal=true&includeQuoteDetails=false'

i have made the modify how you suggest but this month i have missing 2 booking

"It's weird that the request returns 53 records as the parameter size is set to 50.
In any case, please take into account that the parameters page & size controls the pagination of records, you can set up to 100 records per page.

Also notice that v2 endpoint has a parameter stayFilter that, when not set defaults to Upcoming. If you want to mimic the behavior I would recommend you to set to All.

Regards.
Manu V."

How can I solve the problem?