Booking
Create Orders associated to the Hotel Offers
post/booking/hotel-bookings
Request
- Base URLhttps://test.api.amadeus.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"offerId": "NRPQNQBOJM",
"guests": [
{
"name": {
"title": "MR",
"firstName": "BOB",
"lastName": "SMITH"
},
"contact": {
"phone": "+33679278416",
"email": "bob.smith@email.com"
}
}
],
"payments": [
{
"method": "creditCard",
"card": {
"vendorCode": "VI",
"cardNumber": "0000000000000000",
"expiryDate": "2026-01"
}
}
]
}
}Response
Booked
Example response
{
"data": [
{
"type": "hotel-booking",
"id": "XD_8138319951754",
"providerConfirmationId": "8138319951754",
"associatedRecords": [
{
"reference": "QVH2BX",
"originSystemCode": "GDS"
}
]
}
]
}Changes
No recorded changes to this operation across all 5 revisions of this API.