Create a booking based on a Quote
POST https://api.duffel.com/stays/bookings
To create a stay booking, select a quote and provide guest information. The booking can be paid using the Duffel balance.
Request Body
{"data"=>{"quote_id"=>"{{stay_quote_id}}", "guests"=>[{"given_name"=>"Amelia", "family_name"=>"Earhart", "born_on"=>"1987-07-24"}], "email"=>"amelia.earhart@test.com", "stay_special_requests"=>"2pm early check-in required", "phone_number"=>"+447471234567"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Duffel-Version | string |