Step 3: Hotel Booking v1

POST https://test.api.amadeus.com/v1/booking/hotel-bookings

The Hotel Booking REST/JSON API is an open API that allows you to book the best hotel offers you have searched from a wide choice of providers.

Request Body

{"data"=>{"offerId"=>"{{hotelOfferId}}", "guests"=>[{"id"=>1, "name"=>{"title"=>"MR", "firstName"=>"BOB", "lastName"=>"SMITH"}, "contact"=>{"phone"=>"+33679278416", "email"=>"bob.smith@email.com"}}], "payments"=>[{"id"=>1, "method"=>"creditCard", "card"=>{"vendorCode"=>"VI", "cardNumber"=>"4151289722471370", "expiryDate"=>"2023-08"}}], "rooms"=>[{"guestIds"=>[1], "paymentId"=>1, "specialRequest"=>"I will arrive at midnight"}]}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring