Canceling a hotel booking
The steps below explain how to cancel a hotel booking.
Note: Be sure to check the hotel's cancellation policy before canceling a booking (i.e., step 1 of the workflow explained below). Also, visit the hotel cancellation concepts and scenarios for more information.
Step | Name | Endpoint | Details |
---|---|---|---|
Get PNR (optional) | /v3/trips/{tripId}/pnrs/{pnrId} | Retrieve the hotel booking details (e.g., the cancellation policy) using its pnrId . In the response, navigate to the hotelPnr > room > cancellationPolicy field to view the cancellation policy of the booking. URL path requires: pnrId from step 4 of the creating a hotel booking workflow. If the original booking has been modified, then use the pnrId from step 3 of the modifying a hotel booking workflow. Note: Alternatively, you can also view the hotel booking details using the Get trip details endpoint. | |
Cancel a hotel booking | /v2/hotel/pnrs/{pnrId}/cancel-pnr | Cancel a hotel booking. URL path requires: pnrId from step 4 of the creating a hotel booking workflow. If the original booking has been modified, then use the pnrId from step 3 of the modifying a hotel booking workflow. |