{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Use case to event mapping","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":"use-case-to-event-mapping","__idx":0},"children":["Use case to event mapping"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This is a quick reference that maps common travel and booking scenarios to the webhook ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["operation"]}," and event type they trigger,"," ","and describes what changes in the payload so you can identify it when the events are received."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/webhooks/booking-lifecycle/booking-lifecycle-intro"},"children":["booking lifecycle"]}," to understand the events generated during various travel booking scenarios."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"choosing-between-pnr_v3-and-trip_details_v3","__idx":1},"children":["Choosing between PNR_V3 and TRIP_DETAILS_V3"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/pnr_v3/post"},"children":["PNR_V3"]}," event provides detail at a PNR level (per booking),"," ","while the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/trip_details_v3/post"},"children":["TRIP_DETAILS_V3"]}," event provides detail at a trip level (a collection of PNRs)."," ","The main difference is the level (PNR vs a trip) at which the detail is provided."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/pnr_v3/post"},"children":["PNR_V3"]}," webhook for most cases."," ","However, for scenarios where you need to update the entire trip based on a change to a single booking,"," ","use the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/trip_details_v3/post"},"children":["TRIP_DETAILS_V3"]}," event."," ","For example, if you consolidate expenses for an entire trip within a single receipt,"," ","or you maintain a trip summary that needs to be updated whenever any booking in the trip changes, use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TRIP_DETAILS_V3"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"air-bookings","__idx":2},"children":["Air bookings"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Event types used:"]}," ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/pnr_v3/post"},"children":["PNR_V3"]},", ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/trip_details_v3/post"},"children":["TRIP_DETAILS_V3"]},", and ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/service_charge/post"},"children":["SERVICE_CHARGE"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All operations, except where noted, apply to both the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/trip_details_v3/post"},"children":["TRIP_DETAILS_V3"]}," and ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/pnr_v3/post"},"children":["PNR_V3"]}," event types."]}]},{"$$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":{"width":"22%","data-label":"Use case"},"children":["Use case "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"27%","data-label":"Operation"},"children":["Operation "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Payload changes"},"children":["Payload changes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Air booking created"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_CREATED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The PNR's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED_STATUS"]},".",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Notes:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["When an approval is required, the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingStatus"]}," may show the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PENDING_STATUS"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["APPROVAL_REQUESTED_STATUS"]}," value. At this point, the reservation may have already been accepted by the supplier, but the ticket is not issued until the approval completes."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["After the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/spotnana/basic_approval_concepts"},"children":["approval"]},", the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED_STATUS"]}," and a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_TICKETED"]}," operation is executed."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["For bookings that use pre-approval, the booking itself is created only after the approver approves the request."]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Payment failed or declined"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PAYMENT_DECLINED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The PNR's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PAYMENT_DECLINED_STATUS"]}," indicating a payment failure. Manual intervention might be required to retry the booking creation."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Air ticket issued"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_TICKETED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A new entry is added to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["airPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["travelerInfos"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tickets"]}," array with the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ISSUED"]}," status."," ","The webhook's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["operationSummary"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ticketsIssued"]}," field lists the new ticket numbers."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Multi-traveler PNR split into separate PNRs"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SPLIT_PNR_CREATED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Each child PNR created from the split is delivered as separate ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/pnr_v3/post"},"children":["PNR_V3"]}," events with this operation."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Booking canceled within the void window"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TICKET_VOIDED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["An air ticket with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["airPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["travelerInfos"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tickets"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]}," changes from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ISSUED"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VOIDED"]},"."," ","For a full void, the PNR's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCELLED_STATUS"]},"."," ","The webhook's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["operationSummary"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ticketsVoided"]}," field lists the voided tickets."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Booking canceled after the void period (refund)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TICKET_REFUNDED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["An air ticket with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["airPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["travelerInfos"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tickets"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]}," changes from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ISSUED"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REFUNDED"]},"."," ","The webhook's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["operationSummary"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ticketsRefunded"]}," field lists the refunded tickets."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ticket exchanged (new ticket issued)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_TICKETED"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TICKET_REFUNDED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The original ticket's status in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["airPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["travelerInfos"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tickets"]}," array changes from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ISSUED"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["EXCHANGED"]},","," ","and a new ticket is added with the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ISSUED"]}," status and its ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["exchangeInfo"]}," field is updated with the exchange information."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Flight changed without a new ticket (revalidation)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FLIGHT_CHANGED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The flight details in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["airPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["legs"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flights"]}," array change while the original ticket remains in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ISSUED"]}," status."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Airline announces a schedule change"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FLIGHT_SCHEDULE_CHANGE_PENDING"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["airPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["legs"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flights"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flightStatus"]}," changes from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SCHEDULE_CHANGE"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Schedule change confirmed or canceled"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FLIGHT_SCHEDULE_CHANGE_CLOSED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["airPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["legs"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flights"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flightStatus"]}," changes from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SCHEDULE_CHANGE"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED"]},"."," ","If the traveler was waitlisted while accepting the change, the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flightStatus"]}," can instead show the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SCHEDULE_CHANGE_WAITLISTED_BOOKING"]}," value, which requires agent follow-up."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Cabin upgraded or downgraded"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FLIGHT_CABIN_CHANGED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["airPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["legs"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flights"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cabin"]}," differs from the previous PNR version."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Seat reservation confirmed"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FLIGHT_SEAT_CONFIRMED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["airPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["travelerInfos"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["booking"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["seats"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Seat reservation canceled by the airline"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FLIGHT_SEAT_CANCELLED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["airPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["travelerInfos"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["booking"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["seats"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]}," changes from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PENDING"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCELLED"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Seat number changed by the airline"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FLIGHT_SEAT_CHANGED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["airPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["travelerInfos"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["booking"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["seats"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}," changes while the seat ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]}," remains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Flight segment canceled"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FLIGHT_CANCELLED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["airPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["legs"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flights"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flightStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCELLED"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Trip information modified"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TRIP_UPDATED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The trip information (e.g., the trip name or description) changes. The booking itself is unchanged."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Miscellaneous PNR update"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_OTHER_UPDATE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The PNR version increments without a category-specific change (e.g., a remark added on the PNR). This is a catchall operation for any miscellaneous PNR or trip updates."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Invoice created"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["INVOICE_GENERATED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A new entry is added to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceInfos"]}," array. The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["operationSummary"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceGeneratedDocIds"]}," field lists the document IDs of the invoices issued as part of this event, which you can use with the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/documentapi/documents/getdocument"},"children":["get document"]}," API to download the invoice."," ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"This operation is delivered on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PNR_V3"]}," subscriptions only."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TMC service fee charged"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SERVICE_FEE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The fee details are delivered on the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SERVICE_CHARGE"]}," event with operation type ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SERVICE_FEE"]},"."," ","On PNR payloads, the fees are listed under the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["serviceFees"]}," array."]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["There is no operation for a successful payment."," ","A successful air payment is implicit in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_TICKETED"]}," operation, which represents ticket issuance."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"hotel-bookings","__idx":3},"children":["Hotel bookings"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Event types used:"]}," ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/pnr_v3/post"},"children":["PNR_V3"]},", ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/trip_details_v3/post"},"children":["TRIP_DETAILS_V3"]},", and ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/service_charge/post"},"children":["SERVICE_CHARGE"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All operations, except where noted, apply to both the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/trip_details_v3/post"},"children":["TRIP_DETAILS_V3"]}," and ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/pnr_v3/post"},"children":["PNR_V3"]}," event types."]}]},{"$$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":{"width":"22%","data-label":"Use case"},"children":["Use case "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"24%","data-label":"Operation"},"children":["Operation "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Payload changes"},"children":["Payload changes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Hotel booking created"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_CREATED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hotelPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pnrStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED"]},", and the PNR's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED_STATUS"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Dates, room type, or rate changed on the same booking"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_UPDATED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The same PNR is delivered with the updated dates, room, or pricing details."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Rebooked with a different confirmation number"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_REBOOKED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hotelPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vendorConfirmationNumber"]}," changes while the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pnrStatus"]}," remains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED"]},"."," ","Compare the confirmation number with the previous PNR version to detect the rebooking."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Canceled and rebooked as a new PNR"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_CANCELED_BY_TRAVELER"]},", ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"then ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_CREATED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The original PNR is canceled and a new PNR is created that references it."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Booking canceled by the traveler"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_CANCELED_BY_TRAVELER"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hotelPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pnrStatus"]}," changes from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCELLED"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VOIDED"]},","," ","and the PNR's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCELLED_STATUS"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Booking canceled by the property or vendor"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_CANCELED_BY_VENDOR"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hotelPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pnrStatus"]}," changes from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCELLED"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VOIDED"]},","," ","and the PNR's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCELLED_STATUS"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Booking metadata updated (e.g., updating loyalty number, special requests, etc)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_UPDATED"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_OTHER_UPDATE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The PNR is delivered with the updated metadata. The statuses are unchanged."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Invoice created"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["INVOICE_GENERATED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A new entry is added to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceInfos"]}," array. The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["operationSummary"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceGeneratedDocIds"]}," field lists the document IDs of the invoices issued as part of this event, which you can use with the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/documentapi/documents/getdocument"},"children":["get document"]}," API to download the invoice."," ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"This operation is delivered on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PNR_V3"]}," subscriptions only."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TMC service fee charged"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SERVICE_FEE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The fee details are delivered on the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SERVICE_CHARGE"]}," event with operation type ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SERVICE_FEE"]},"."," ","On PNR payloads, the fees are listed under the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["serviceFees"]}," array."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"car-rentals","__idx":4},"children":["Car rentals"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Event types used:"]}," ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/pnr_v3/post"},"children":["PNR_V3"]},", ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/trip_details_v3/post"},"children":["TRIP_DETAILS_V3"]},", and ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/service_charge/post"},"children":["SERVICE_CHARGE"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All operations, except where noted, apply to both the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/trip_details_v3/post"},"children":["TRIP_DETAILS_V3"]}," and ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/pnr_v3/post"},"children":["PNR_V3"]}," event types."]}]},{"$$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":{"width":"21%","data-label":"Use case"},"children":["Use case "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"27%","data-label":"Operation"},"children":["Operation "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Payload changes"},"children":["Payload changes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Rental car booking made"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_CREATED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pnrStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED"]},", and the PNR's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED_STATUS"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pickup or drop-off date, time, or location changed"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_UPDATED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The same PNR is delivered with the updated pickup or drop-off details."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Vehicle type changed"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_UPDATED"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_REBOOKED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["If the vehicle details (i.e., class, make, or model) are changed, the event is delivered with operation type ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_UPDATED"]},"."," ","If the supplier issues a new vendor confirmation number for the change, the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_REBOOKED"]}," operation is also triggered."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Rebooked with a different confirmation number"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_REBOOKED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vendorConfirmationNumber"]}," changes while the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pnrStatus"]}," remains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Booking canceled by the traveler"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_CANCELED_BY_TRAVELER"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pnrStatus"]}," changes from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCELLED"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VOIDED"]},","," ","and the PNR's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCELLED_STATUS"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Booking canceled by the vendor"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_CANCELED_BY_VENDOR"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pnrStatus"]}," changes from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCELLED"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VOIDED"]},","," ","and the PNR's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCELLED_STATUS"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Metadata updated (loyalty number)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_UPDATED"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_OTHER_UPDATE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The PNR is delivered with the updated metadata. The statuses are unchanged."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Invoice created"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["INVOICE_GENERATED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A new entry is added to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceInfos"]}," array. The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["operationSummary"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceGeneratedDocIds"]}," field lists the document IDs of the invoices issued as part of this event, which you can use with the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/documentapi/documents/getdocument"},"children":["get document"]}," API to download the invoice."," ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"This operation is delivered on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PNR_V3"]}," subscriptions only."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TMC service fee charged"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SERVICE_FEE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The fee details are delivered on the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SERVICE_CHARGE"]}," event."," ","On PNR payloads, the fees are listed under the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["serviceFees"]}," array."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"rail-bookings","__idx":5},"children":["Rail bookings"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Event types used:"]}," ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/pnr_v3/post"},"children":["PNR_V3"]},", ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/trip_details_v3/post"},"children":["TRIP_DETAILS_V3"]},", and ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/service_charge/post"},"children":["SERVICE_CHARGE"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All operations, except where noted, apply to both the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/trip_details_v3/post"},"children":["TRIP_DETAILS_V3"]}," and ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/pnr_v3/post"},"children":["PNR_V3"]}," event types."]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," A rail PNR may contain an outward journey and a return journey, and each journey can be made up of multiple sections (e.g., sold by different rail vendors)."," ","Inspect the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["railPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["outwardJourney"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["journeyStatus"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["railPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["inwardJourney"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["journeyStatus"]}," ","for the journey status, and the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["railPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sections"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sectionStatus"]}," for section-level statuses."]}]},{"$$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":{"width":"26%","data-label":"Use case"},"children":["Use case "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"23%","data-label":"Operation"},"children":["Operation "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Payload changes"},"children":["Payload changes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Rail booking made"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_CREATED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The journey and section statuses show ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED"]},", and the PNR's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED_STATUS"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Booking exchanged (passenger details, travel card, new booking number, or journey changes)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["EXCHANGE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The PNR is delivered with the updated journey details and its ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["railPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["exchangeInfo"]}," populated."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Seat preference changed"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_UPDATED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The PNR is delivered with the updated seat preferences."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Booking canceled"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REFUND"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The following statuses are changed in the payload:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["railPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["outwardJourney"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["journeyStatus"]}," changes from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCELLED"]},","]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["railPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sections"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sectionStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCELLED"]},","]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The PNR's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCELLED_STATUS"]},"."]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Booking partially canceled (some sections not canceled)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REFUND"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["railPnr"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sections"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sectionStatus"]}," of the canceled sections changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCELLED"]}," while the remaining sections may remain as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Metadata updated (e.g., updating special requests)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_UPDATED"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_OTHER_UPDATE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The PNR is delivered with the updated metadata. The statuses remain unchanged."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Invoice created"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["INVOICE_GENERATED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A new entry is added to the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceInfos"]}," array. The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["operationSummary"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceGeneratedDocIds"]}," field lists the document IDs of the invoices issued as part of this event, which you can use with the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/documentapi/documents/getdocument"},"children":["get document"]}," API to download the invoice."," ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"This operation is delivered on the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PNR_V3"]}," subscriptions only."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Cancellation fee charged"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SERVICE_FEE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The fee is delivered on the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SERVICE_CHARGE"]}," event with the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["charge"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["feeInfo"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionFeeType"]}," set to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TRANSACTION_TYPE_CANCELLATION"]},"."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"approvals","__idx":6},"children":["Approvals"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Event type used:"]}," ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/pnr_approval/post"},"children":["PNR_APPROVAL"]}," and ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/pnr_v3/post"},"children":["PNR_V3"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/pnr_approval/post"},"children":["PNR_APPROVAL"]}," event notifies you when a booking's approval state changes."," ","The corresponding PNR also carries the approval state in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approvalInfo"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approvalStatus"]}," field"," ","on ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/pnr_v3/post"},"children":["PNR_V3"]}," payloads."]},{"$$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":{"width":"30%","data-label":"Use case"},"children":["Use case "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"23%","data-label":"Operation"},"children":["Operation "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Payload changes"},"children":["Payload changes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Approval requested and awaiting approver action"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["APPROVAL_PENDING"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approvalInfo"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approvalStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["APPROVAL_PENDING"]},"."," ","The PNR's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingStatus"]}," shows ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["APPROVAL_REQUESTED_STATUS"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Approver has approved the booking"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["APPROVED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approvalInfo"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approvalStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["APPROVED"]},","," ","and the PNR's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingStatus"]}," moves to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONFIRMED_STATUS"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Approver has denied the booking"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DENIED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approvalInfo"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approvalStatus"]}," changes to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DENIED"]},","," ","and the PNR's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bookingStatus"]}," moves to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["APPROVAL_DENIED_STATUS"]},"."," ","For a ticketed air booking, a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TICKET_VOIDED"]}," operation follows on the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PNR_V3"]}," event as the booking is voided."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Hard-approval deadline passed without a response"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TIMED_OUT"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The itinerary is canceled because no approver took action before the approval deadline."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Reminder sent before the approval deadline"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TIMED_OUT_REMINDER"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A reminder notification is sent to the approver. The approval status remains unchanged."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"service-charges","__idx":7},"children":["Service charges"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Event type used:"]}," ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/service_charge/post"},"children":["SERVICE_CHARGE"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Service charge events are delivered with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["operation"]}," as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SERVICE_FEE"]},"."," ","In the event payload, the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["serviceType"]}," identifies whether the fee relates to an itinerary transaction (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ITINERARY_BOOKING"]},")"," ","or an agent contact (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AGENT_CONTACT"]},"),"," ","and the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["charge"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["feeInfo"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionFeeType"]}," identifies why the fee was charged."," ","The event is triggered even if the fee amount is 0."]},{"$$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":{"width":"22%","data-label":"Use case"},"children":["Use case "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"30%","data-label":"transactionFeeType value"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionFeeType"]}," value "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Payload changes"},"children":["Payload changes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fee for a new booking (air, hotel, car, rail, or limo)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TRANSACTION_TYPE_BOOKING"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The fee amount and breakdown are delivered in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["charge"]}," object."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fee for modifying or exchanging an existing booking"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TRANSACTION_TYPE_MODIFICATION"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The modification fee details are delivered in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["charge"]}," object."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fee for canceling an existing booking"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TRANSACTION_TYPE_CANCELLATION"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The cancellation fee details are delivered in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["charge"]}," object."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fee for an agent-assisted transaction"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TRANSACTION_TYPE_AGENT_CONTACT"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["agentContact"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contactOp"]}," identifies the agent operation"," ","(e.g., ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ANCILLARY_PURCHASE"]},", or a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SHELL_PNR_CREATE"]},", etc.),"," ","and the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["agentContact"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contactType"]}," identifies the contact method (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PHONE"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CHAT"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["EMAIL"]},")."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The service charge payload also includes a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentStatus"]}," ","(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SUCCESS"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DELAYED_INVOICE"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["MANUAL"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NO_CHARGE"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["WAIVED_OFF"]},")."," ","On ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PNR_V3"]}," payloads, the fees charged for a booking are listed under the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["serviceFees"]}," array,"," ","where each entry has its own ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]}," (e.g., ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ISSUED"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VOIDED"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NO_CHARGE"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["WAIVED_OFF"]},")."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"traveler-profiles-and-agent-tasks","__idx":8},"children":["Traveler profiles and agent tasks"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Event types used:"]}," ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/traveler_v2/post"},"children":["TRAVELER_V2"]},", ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/webhookeventapi/webhooks/paths/agent_task_details/post"},"children":["AGENT_TASK_DETAILS"]}]},{"$$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":{"width":"34%","data-label":"Use case"},"children":["Use case "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"21%","data-label":"Operation"},"children":["Operation "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Event type"},"children":["Event type"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Traveler profile created"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CREATE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TRAVELER_V2"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Traveler profile updated"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["UPDATE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TRAVELER_V2"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Traveler profile deleted"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DELETE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TRAVELER_V2"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Agent task created for a booking that needs attention"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TASK_CREATE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AGENT_TASK_DETAILS"]}]}]}]}]}]}]},"headings":[{"value":"Use case to event mapping","id":"use-case-to-event-mapping","depth":1},{"value":"Choosing between PNR_V3 and TRIP_DETAILS_V3","id":"choosing-between-pnr_v3-and-trip_details_v3","depth":2},{"value":"Air bookings","id":"air-bookings","depth":2},{"value":"Hotel bookings","id":"hotel-bookings","depth":2},{"value":"Car rentals","id":"car-rentals","depth":2},{"value":"Rail bookings","id":"rail-bookings","depth":2},{"value":"Approvals","id":"approvals","depth":2},{"value":"Service charges","id":"service-charges","depth":2},{"value":"Traveler profiles and agent tasks","id":"traveler-profiles-and-agent-tasks","depth":2}],"frontmatter":{"seo":{"title":"Use case to event mapping"}},"lastModified":"2026-07-23T19:40:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/webhooks/webhook-event-mapping","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}