DATE:
AUTHOR:
The Duffel team
API Stays

We now show guest types on Stays bookings

DATE:
AUTHOR: The Duffel team

When you search for Stays, you provide numbers of guests and their types (adults and children), so you are offered the right rates for your travellers.

When you book, we ask for guest names and birth dates. This is recorded against the booking, and returned on the booking when it gets retrieved in the guests property. However, this didn’t always clearly show what was originally searched for — like whether the booking was for 2 adults and 1 child.

We now return the guest information supplied in the original search search in a guest_types property on the booking. This matches what was searched for and used to calculate the rate. It helps you create better experiences and build customer trust.

Head to our API reference to learn more.

Powered by LaunchNotes