{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Modifying a car booking","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"modifying-a-car-booking","__idx":0},"children":["Modifying a car booking"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once a car booking has been created, the traveler can modify it to change the car, vendor, pickup or drop-off location, or rental dates."," ","The steps below explain how to modify an existing car booking."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Step"},"children":["Step"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Endpoint"},"children":["Endpoint"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Details"},"children":["Details"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/carapi/car/carmodifysearch"},"children":["Get car search results for a booking modification"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /v2/car/pnrs/{pnrId}/modify-search"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Search for available cars when modifying an existing car booking. The traveler can choose a different car, vendor, location, or rental dates as part of the modification.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["URL path requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pnrId"]}," from step 4 of the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/spotnana/car_booking_workflow"},"children":["creating a car booking"]}," workflow.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Request body requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pickup"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dropOff"]}," parameters. Optionally, you can provide ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["filters"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sortOptions"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["renterAge"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["loyaltyCode"]}," to refine the results.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response will contain:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["searchId"]}," and a list of available cars. Each car in the response includes the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carId"]},", rate information, vendor details, and an ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isSamePickupLocation"]}," flag indicating whether the pickup location is the same as the original booking.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Other APIs will use:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["searchId"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carId"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/carapi/car/carratedetails"},"children":["Get car rate details"]}," (optional)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /v2/car/rate-details"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["View additional information about the selected car before proceeding with the modification. This includes the pickup and drop-off location details, vendor information, additional rental requirements, and CO2 emission details.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Request body requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["searchId"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carId"]}," from step 1, and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isModify"]}," set to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," to indicate that the request is for modifying an existing booking.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response will contain:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pickupLocation"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dropOffLocation"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vendor"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["additionalDetails"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["co2Emission"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isFlightNumberMandatoryForPickup"]},".",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," This step is optional but recommended when you need to display comprehensive car details to the traveler before confirming the modification."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/carapi/car/carpricecheck"},"children":["Check car price availability"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /v2/car/price-check"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Verify the price for the selected car before modifying the booking. Car rental prices can change due to demand and availability. This endpoint ensures the latest price is captured before the modification is finalized.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Request body requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["searchId"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carId"]}," from step 1, and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isModify"]}," set to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," to indicate that this price check is part of a modification flow.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response will contain:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingKey"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hasPriceChanged"]}," (a boolean flag that indicates if the price has changed since the search was performed), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["timeoutSeconds"]}," (the time in seconds for which the price is held), and the updated ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["finalRateInfo"]},".",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Other APIs will use:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingKey"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/carapi/car/carmodifybook"},"children":["Modify an existing car booking"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /v2/car/pnrs/{pnrId}/modify-book"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Apply the modification to the existing car booking with the selected car from step 1.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["URL path requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pnrId"]}," from step 4 of the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/spotnana/car_booking_workflow"},"children":["creating a car booking"]}," workflow.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Request body requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingKey"]}," from step 3, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carId"]}," from step 1, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tripData"]}," containing the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tripId"]},", a list of travelers, and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingCharges"]}," with the selected payment method. Optionally, provide ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["arrivalFlightNumber"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingPaymentDetails"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["waiveOffInfo"]},", if applicable.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response will contain:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pnrId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sourcePnrId"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pnrStatus"]},".",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," Use the same ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tripId"]}," from the original booking. Modifying a car booking does not create a new trip."]}]}]}]}]}]},"headings":[{"value":"Modifying a car booking","id":"modifying-a-car-booking","depth":1}],"frontmatter":{"seo":{"title":"Modifying a car booking"}},"lastModified":"2026-06-01T12:56:22.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/spotnana/car_modify_workflow","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}