Skip to content

Check car price availability

Request

Check if the price for a selected car is still available before proceeding with the booking.

Security
Bearer
Bodyapplication/jsonrequired
searchIdstringrequired

SearchID of the selected car.

Example:"1cf76aba18e4015f"
carIdstringrequired

CarId of the car to be booked.

Example:"EgRFQ0FSGgNFVzIiAkVUKgoKA1NGTxIDU0ZPMgoKA1NGTxIDU0ZP"
tripIdstring

Trip ID

Example:1234567890
isModifyboolean

Indicates if this API call is a part of modify search and book.

Example:false
curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/car/price-check \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "searchId": "1cf76aba18e4015f",
    "carId": "EgRFQ0FSGgNFVzIiAkVUKgoKA1NGTxIDU0ZPMgoKA1NGTxIDU0ZP",
    "tripId": 1234567890,
    "isModify": false
  }'

Responses

OK

Bodyapplication/json
timeoutSecondsinteger

Time in seconds for which the price is held.

Example:3900
hasPriceChangedbooleanrequired

Indicates if the price has changed from the details.

Example:true
rateInfoobject(CarRateDetails)

Car Rate information and breakdown

finalRateInfoobject(CarRateDetails)

Car Rate information and breakdown

preferencesArray of objects(Preference)
bookingKeystring

Booking key used to make booking.

supplierRequiredFieldsArray of objects(SupplierRequiredField)

Booking-time fields the supplier's live quote marked as needing a value (e.g. EHI's per-contract "AdditionalInfoField"). id/label are opaque and supplier/contract-specific, not a fixed enum -- render generically and echo the answer back on create_pnr's supplierFieldValues, keyed by id.

Response
{ "timeoutSeconds": 3900, "hasPriceChanged": true, "rateInfo": { "rateType": "GUARANTEED", "carRateComponents": [ … ], "carExtras": [ … ], "refundable": "REFUNDABLE", "fareType": "CORPORATE", "allowedFop": "BREX_POINTS", "allowedPaymentTypes": [ … ], "dailyRates": [ … ], "supplier": "SABRE" }, "finalRateInfo": { "rateType": "GUARANTEED", "carRateComponents": [ … ], "carExtras": [ … ], "refundable": "REFUNDABLE", "fareType": "CORPORATE", "allowedFop": "BREX_POINTS", "allowedPaymentTypes": [ … ], "dailyRates": [ … ], "supplier": "SABRE" }, "preferences": [ { … } ], "bookingKey": "string", "supplierRequiredFields": [ { … } ] }