Closed bkniffler closed 3 years ago
Hi @bkniffler , most likely these are past or canceled bookings, please check http://developers.bookingsync.com/reference/endpoints/bookings/, especially the parts regarding from
and include_canceled
query params
it works with include_canceled=true
But it doesn't make sense to me that if I explicitly request an item by id /bookings/:id
, I still need to provide include_canceled.
I'm fetching payments via
/payments
endpoint. Using the bookingId found inlinks.bookings
, I'm then trying to fetch the associated booking(s). But a lot of the time, even though there are bookingIds, I won't get any result from the api.Example:
https://www.bookingsync.com/api/v3/payments/8676799
=>links.bookings: [14172881]
https://www.bookingsync.com/api/v3/bookings/14172881
=> no bookingsHow comes?