The Duffel team
API Stays

You can now search for specific accommodation

AUTHOR: The Duffel team

It is now possible to search specific accommodation using the accommodation payload in our Search endpoint. You may want to use this search flow when your user experience includes curated lists of accommodation, customer favourites, or deep-links to specific accommodation.

You should use location based search to discover your list of relevant accommodation IDs. Up to 10 accommodation IDs can be searched in a single request.

You can optionally get rates instantly for all the available accommodation in the search response by passing the fetch rates flag in the accommodation payload.

To learn more, read our guide on Searching for Stays.

Powered by LaunchNotes