Save an offer as a booking selection
Re-validates a live search offer with the provider and stores it as a selection that stays bookable until bookableUntil (retained 30 days). Requires an authenticated company user and an Idempotency-Key; replaying the key with a different body returns 409 BOOKING_SELECTION_IDEMPOTENCY_CONFLICT, an expired or unknown offer returns 409 BOOKING_OFFER_UNAVAILABLE, and a Sabre offer with no DK to book with (the advisor has none and the agency has no default DK) returns 422 BOOKING_SABRE_DK_REQUIRED. Returns the selection id and a preview of product, price and payment terms; the preview carries the commercial snapshot (expected commission and earnings) only for the agency's advisors and admins and for Nicer staff, and leaves it out for travelers.
Authorization
Header parameters
Request body JSON required
Returns
200
OK
- bookableUntilstringrequiredformat: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
- previewobjectrequired
- paymentTermsobjectrequired
- cancellationPolicyrequired}
Any of the following:
- QuotePolicy
- allowedrequired}
Any of the following:
- boolean
- null
- deadlinerequired}
Any of the following:
- string
- null
- exactCopystringrequiredminLength: 1
- kindCANCELLATIONorCHANGEorDEPOSITorGUARANTEEorNO_SHOWorPAY_AT_PROPERTYrequired
- penaltiesarray ofobjectrequired
- amountrequired}
Any of the following:
- Money
- null
- fromrequired}
Any of the following:
- string
- null
- summarystringrequiredminLength: 1
- null
- productSnapshotBookingProductSnapshotrequired}
One of the following:
- HotelProductSnapshot
- addressrequired}
Any of the following:
- string
- null
- amenitiesarray ofstringrequiredminLength: 1
- chainNamerequired}
Any of the following:
- string
- null
- checkInstringrequiredformat: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
- checkOutstringrequiredformat: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
- cityrequired}
Any of the following:
- string
- null
- countryCoderequired}
Any of the following:
- CountryCode
- null
- descriptionrequired}
Any of the following:
- string
- null
- hotelReferencestringrequiredminLength: 1
- imagesarray ofobjectrequired
- altrequired}
Any of the following:
- string
- null
- urlstringrequiredformat: uri
- kindstringrequired
- latitudenumberrequiredmaximum: 90 · minimum: -90
- longitudenumberrequiredmaximum: 180 · minimum: -180
- namestringrequiredminLength: 1
- policiesarray ofobjectrequired
- allowedrequired}
Any of the following:
- boolean
- null
- deadlinerequired}
Any of the following:
- string
- null
- exactCopystringrequiredminLength: 1
- kindCANCELLATIONorCHANGEorDEPOSITorGUARANTEEorNO_SHOWorPAY_AT_PROPERTYrequired
- penaltiesarray ofobjectrequired
- amountrequired}
Any of the following:
- Money
- null
- fromrequired}
Any of the following:
- string
- null
- summarystringrequiredminLength: 1
- productIdstringrequiredminLength: 1
- roomsarray ofobjectrequired
- amenitiesarray ofstringrequiredminLength: 1
- bedTypesarray ofstringrequiredminLength: 1
- boardrequired}
Any of the following:
- string
- null
- descriptionrequired}
Any of the following:
- string
- null
- imagesarray ofobjectrequired
- altrequired}
Any of the following:
- string
- null
- urlstringrequiredformat: uri
- namestringrequiredminLength: 1
- occupancyobjectrequired
- adultsintegerrequiredmaximum: 8 · minimum: 1
- childrenAgesarray ofintegerrequiredmaximum: 17 · minimum: 0
- ratePlanNamerequired}
Any of the following:
- string
- null
- rateIdstringrequiredminLength: 1
- refundablerequired}
Any of the following:
- boolean
- null
- roomIdstringrequiredminLength: 1
- roomNumberintegerrequiredmaximum: 8
- bookingRequirementsoptionalobject
- membershiprequired}
Any of the following:
- object
- chainCoderequired}
Any of the following:
- string
- null
- programNamerequired}
Any of the following:
- string
- null
- null
- acceptedCardCodesrequired}
Any of the following:
- array<string>
- null
- guaranteeTypeGUARorDEPorLATEorNONEorUNKNOWNrequired
- unsupportedReasonrequired}
Any of the following:
- stringMEMBERSHIP_CHAIN_UNKNOWN
- null
- loyaltyProgramoptional}
Any of the following:
- object
- chainCodestringrequiredpattern: ^[A-Z0-9]{2}$
- programNamerequired}
Any of the following:
- string
- null
- null
- categoryoptional}
Any of the following:
- string
- null
- ratePlanClientIdoptional}
Any of the following:
- string
- null
- ratePlanCodeoptional}
Any of the following:
- string
- null
- starRatingrequired}
Any of the following:
- number
- null
- FlightProductSnapshot
- capabilitiesobjectrequired
- ancillariesAVAILABLEorNOT_REQUESTEDorNOT_SUPPORTEDrequired
- seatsAVAILABLEorNOT_REQUESTEDorNOT_SUPPORTEDrequired
- kindstringrequired
- fareRulesarray ofobjectrequired
- categoryADVANCE_PURCHASEorCANCELLATIONorCHANGEorMINIMUM_STAYorNO_SHOWorOTHERrequired
- exactCopystringrequiredminLength: 1
- passengerReferencesarray ofstringrequiredminLength: 1
- ownerobjectrequired
- codestringrequiredpattern: ^[A-Z0-9]{2,3}$
- namerequired}
Any of the following:
- string
- null
- logoAssetReferenceoptional}
Any of the following:
- string
- null
- policiesarray ofobjectrequired
- allowedrequired}
Any of the following:
- boolean
- null
- deadlinerequired}
Any of the following:
- string
- null
- exactCopystringrequiredminLength: 1
- kindCANCELLATIONorCHANGEorDEPOSITorGUARANTEEorNO_SHOWorPAY_AT_PROPERTYrequired
- penaltiesarray ofobjectrequired
- amountrequired}
Any of the following:
- Money
- null
- fromrequired}
Any of the following:
- string
- null
- summarystringrequiredminLength: 1
- productIdstringrequiredminLength: 1
- slicesarray ofobjectrequired
- durationMinutesintegerrequiredmaximum: 9007199254740991
- legsarray ofobjectrequired
- aircraftrequired}
Any of the following:
- object
- codestringrequiredminLength: 1
- namerequired}
Any of the following:
- string
- null
- null
- arrivalobjectrequired
- airportobjectrequired
- cityrequired}
Any of the following:
- string
- null
- countryCoderequired}
Any of the following:
- CountryCode
- null
- iataCodestringrequiredpattern: ^[A-Z]{3}$
- namerequired}
Any of the following:
- string
- null
- timeZonerequired}
Any of the following:
- string
- null
- atstringrequiredformat: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
- localDateTimestringrequiredpattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
- terminalrequired}
Any of the following:
- string
- null
- utcOffsetrequired}
Any of the following:
- string
- null
- baggagearray ofobjectrequired
- passengerReferencestringrequiredminLength: 1
- piecesrequired}
Any of the following:
- integer
- null
- serviceIdstringrequiredminLength: 1
- statusAVAILABLEorNOT_REQUESTEDorNOT_SUPPORTEDrequired
- typeCARRY_ONorCHECKEDrequired
- weightrequired}
Any of the following:
- BaggageWeight
- null
- descriptionoptional}
Any of the following:
- string
- null
- sizeoptional}
Any of the following:
- BaggageSize
- null
- bookingClassrequired}
Any of the following:
- string
- null
- cabinBUSINESSorECONOMYorFIRSTorPREMIUM_ECONOMYrequired
- departureobjectrequired
- airportobjectrequired
- cityrequired}
Any of the following:
- string
- null
- countryCoderequired}
Any of the following:
- CountryCode
- null
- iataCodestringrequiredpattern: ^[A-Z]{3}$
- namerequired}
Any of the following:
- string
- null
- timeZonerequired}
Any of the following:
- string
- null
- atstringrequiredformat: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
- localDateTimestringrequiredpattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
- terminalrequired}
Any of the following:
- string
- null
- utcOffsetrequired}
Any of the following:
- string
- null
- durationMinutesintegerrequiredmaximum: 9007199254740991
- fareBasisCoderequired}
Any of the following:
- string
- null
- hiddenStopsarray ofobjectrequired
- airportobjectrequired
- cityrequired}
Any of the following:
- string
- null
- countryCoderequired}
Any of the following:
- CountryCode
- null
- iataCodestringrequiredpattern: ^[A-Z]{3}$
- namerequired}
Any of the following:
- string
- null
- timeZonerequired}
Any of the following:
- string
- null
- arrivalAtrequired}
Any of the following:
- string
- null
- departureAtrequired}
Any of the following:
- string
- null
- durationMinutesrequired}
Any of the following:
- integer
- null
- legIdstringrequiredminLength: 1
- marketingCarrierobjectrequired
- codestringrequiredpattern: ^[A-Z0-9]{2,3}$
- namerequired}
Any of the following:
- string
- null
- logoAssetReferenceoptional}
Any of the following:
- string
- null
- marketingFlightNumberstringrequiredminLength: 1
- operatingCarrierrequired}
Any of the following:
- FlightCarrierSnapshot
- null
- operatingFlightNumberrequired}
Any of the following:
- string
- null
- providerSegmentReferencestringrequiredminLength: 1
- seatsarray ofobjectrequired
- passengerReferencestringrequiredminLength: 1
- pricerequired}
Any of the following:
- Money
- null
- seatIdstringrequiredminLength: 1
- seatNumberstringrequiredminLength: 1
- servicesarray ofobjectrequired
- namestringrequiredminLength: 1
- passengerReferencesarray ofstringrequiredminLength: 1
- pricerequired}
Any of the following:
- Money
- null
- serviceIdstringrequiredminLength: 1
- statusCONFIRMEDorON_REQUESTrequired
- brandoptional}
Any of the following:
- object
- codestringrequiredminLength: 1
- namestringrequiredminLength: 1
- null
- sliceIdstringrequiredminLength: 1
- ticketingDeadlinerequired}
Any of the following:
- string
- null
- baggageChargesoptionalarray ofobject
- descriptionrequired}
Any of the following:
- string
- null
- firstPieceintegerrequiredmaximum: 9007199254740991
- lastPieceintegerrequiredmaximum: 9007199254740991
- passengerReferencestringrequiredminLength: 1
- priceobjectrequired
- amountMinorintegerrequiredmaximum: 9007199254740991 · minimum: 0
- currencystringrequiredpattern: ^[A-Z]{3}$
- segmentReferencesarray ofstringrequiredminLength: 1
- sizerequired}
Any of the following:
- BaggageSize
- null
- typeCARRY_ONorCHECKEDrequired
- weightrequired}
Any of the following:
- BaggageWeight
- null
- brandFeaturesoptionalarray ofobject
- availabilityCHARGEABLEorINCLUDEDorNOT_OFFEREDrequired
- namestringrequiredminLength: 1
- passengersoptionalarray ofobject
- countintegerrequiredmaximum: 9007199254740991
- totalMinorrequired}
Any of the following:
- integer
- null
- typeADULTorCHILDorINFANTrequired
- validatingCarriersoptionalarray ofobject
Every airline that may issue this fare's ticket, the default (
owner) first. Present only when there is more than one; checkout takes the chosen code asvalidatingCarrier.- codestringrequiredpattern: ^[A-Z0-9]{2,3}$
- namerequired}
Any of the following:
- string
- null
- logoAssetReferenceoptional}
Any of the following:
- string
- null
- rulesoptionalobject
What changing or canceling costs before departure and, when filed, after it.
- cancellationobjectrequired
- allowedrequired}
Any of the following:
- boolean
- null
- deadlinerequired}
Any of the following:
- string
- null
- penaltyrequired}
Any of the following:
- Money
- null
- summaryrequired}
Any of the following:
- string
- null
- penaltyRangeoptional}
Any of the following:
- object
- currencystringrequiredpattern: ^[A-Z]{3}$
- maximumAmountMinorintegerrequiredmaximum: 9007199254740991 · minimum: 0
- minimumAmountMinorintegerrequiredmaximum: 9007199254740991 · minimum: 0
- null
- changeobjectrequired
- allowedrequired}
Any of the following:
- boolean
- null
- deadlinerequired}
Any of the following:
- string
- null
- penaltyrequired}
Any of the following:
- Money
- null
- summaryrequired}
Any of the following:
- string
- null
- penaltyRangeoptional}
Any of the following:
- object
- currencystringrequiredpattern: ^[A-Z]{3}$
- maximumAmountMinorintegerrequiredmaximum: 9007199254740991 · minimum: 0
- minimumAmountMinorintegerrequiredmaximum: 9007199254740991 · minimum: 0
- null
- afterDepartureoptionalobject
- cancellationobjectrequired
- allowedrequired}
Any of the following:
- boolean
- null
- deadlinerequired}
Any of the following:
- string
- null
- penaltyrequired}
Any of the following:
- Money
- null
- summaryrequired}
Any of the following:
- string
- null
- penaltyRangeoptional}
Any of the following:
- object
- currencystringrequiredpattern: ^[A-Z]{3}$
- maximumAmountMinorintegerrequiredmaximum: 9007199254740991 · minimum: 0
- minimumAmountMinorintegerrequiredmaximum: 9007199254740991 · minimum: 0
- null
- changeobjectrequired
- allowedrequired}
Any of the following:
- boolean
- null
- deadlinerequired}
Any of the following:
- string
- null
- penaltyrequired}
Any of the following:
- Money
- null
- summaryrequired}
Any of the following:
- string
- null
- penaltyRangeoptional}
Any of the following:
- object
- currencystringrequiredpattern: ^[A-Z]{3}$
- maximumAmountMinorintegerrequiredmaximum: 9007199254740991 · minimum: 0
- minimumAmountMinorintegerrequiredmaximum: 9007199254740991 · minimum: 0
- null
- CarRentalProductSnapshot
- categorystringrequiredminLength: 1
- dropOffAtstringrequiredformat: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
- dropOffLocationobjectrequired
- addressrequired}
Any of the following:
- string
- null
- airportCoderequired}
Any of the following:
- AirportCode
- null
- latituderequired}
Any of the following:
- number
- null
- longituderequired}
Any of the following:
- number
- null
- namestringrequiredminLength: 1
- localDateTimeoptionalstringpattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
- timeZoneoptional}
Any of the following:
- string
- null
- utcOffsetoptional}
Any of the following:
- string
- null
- imagesarray ofobjectrequired
- altrequired}
Any of the following:
- string
- null
- urlstringrequiredformat: uri
- inclusionsarray ofstringrequiredminLength: 1
- kindstringrequired
- namestringrequiredminLength: 1
- pickUpAtstringrequiredformat: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
- pickUpLocationobjectrequired
- addressrequired}
Any of the following:
- string
- null
- airportCoderequired}
Any of the following:
- AirportCode
- null
- latituderequired}
Any of the following:
- number
- null
- longituderequired}
Any of the following:
- number
- null
- namestringrequiredminLength: 1
- localDateTimeoptionalstringpattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
- timeZoneoptional}
Any of the following:
- string
- null
- utcOffsetoptional}
Any of the following:
- string
- null
- policiesarray ofobjectrequired
- allowedrequired}
Any of the following:
- boolean
- null
- deadlinerequired}
Any of the following:
- string
- null
- exactCopystringrequiredminLength: 1
- kindCANCELLATIONorCHANGEorDEPOSITorGUARANTEEorNO_SHOWorPAY_AT_PROPERTYrequired
- penaltiesarray ofobjectrequired
- amountrequired}
Any of the following:
- Money
- null
- fromrequired}
Any of the following:
- string
- null
- summarystringrequiredminLength: 1
- productIdstringrequiredminLength: 1
- selectedExtrasarray ofobjectrequired
- namestringrequiredminLength: 1
- pricerequired}
Any of the following:
- Money
- null
- serviceIdstringrequiredminLength: 1
- supplierNamestringrequiredminLength: 1
- paymentPolicyoptionalobject
- kindPAY_AT_LOCATIONorPREPAIDorUNKNOWNrequired
- summaryrequired}
Any of the following:
- string
- null
- timingrequired}
Any of the following:
- stringPICKUPorRETURN
- null
- chargesoptionalarray ofobject
- amountMinorintegerrequiredmaximum: 9007199254740991 · minimum: 0
- currencystringrequiredpattern: ^[A-Z]{3}$
- chargeTypestringrequiredminLength: 1
- extraMileageChargerequired}
Any of the following:
- string
- null
- mileageAllowancerequired}
Any of the following:
- string
- null
- unitOfMeasurerequired}
Any of the following:
- string
- null
- specificationsoptionalobject
- bodyTyperequired}
Any of the following:
- string
- null
- doorsrequired}
Any of the following:
- integer
- null
- driveWheelConfigurationrequired}
Any of the following:
- string
- null
- fuelTyperequired}
Any of the following:
- string
- null
- largeBagsrequired}
Any of the following:
- integer
- null
- seatBeltsrequired}
Any of the following:
- integer
- null
- smallBagsrequired}
Any of the following:
- integer
- null
- transmissionrequired}
Any of the following:
- string
- null
- vehicleTyperequired}
Any of the following:
- string
- null
- InsuranceProductSnapshot
- descriptionrequired}
Any of the following:
- string
- null
- effectiveDatestringrequiredformat: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
- exclusionsarray ofstringrequiredminLength: 1
- expirationDatestringrequiredformat: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
- insuredItemsarray ofobjectrequired
- amountobjectrequired
- amountMinorintegerrequiredmaximum: 9007199254740991 · minimum: 0
- currencystringrequiredpattern: ^[A-Z]{3}$
- referencestringrequiredminLength: 1
- titlestringrequiredminLength: 1
- kindstringrequired
- planNamestringrequiredminLength: 1
- policiesarray ofobjectrequired
- allowedrequired}
Any of the following:
- boolean
- null
- deadlinerequired}
Any of the following:
- string
- null
- exactCopystringrequiredminLength: 1
- kindCANCELLATIONorCHANGEorDEPOSITorGUARANTEEorNO_SHOWorPAY_AT_PROPERTYrequired
- penaltiesarray ofobjectrequired
- amountrequired}
Any of the following:
- Money
- null
- fromrequired}
Any of the following:
- string
- null
- summarystringrequiredminLength: 1
- productIdstringrequiredminLength: 1
- selectedCoveragesarray ofobjectrequired
- coverageIdstringrequiredminLength: 1
- descriptionrequired}
Any of the following:
- string
- null
- namestringrequiredminLength: 1
- pricerequired}
Any of the following:
- Money
- null