# Flight schedule changes

These operations cover airline-initiated changes to the flight itinerary, including schedule modifications, cabin changes, and flight cancellations.

**Webhook used:** [PNR_V3](/openapi/webhookeventapi/webhooks/paths/pnr_v3/post)

| Step | Operation  | Event trigger | Context |
|  --- | --- | --- | --- |
| 1 | `FLIGHT_SCHEDULE_ CHANGE_PENDING` | When the airline changes the schedule of one or more flights and the change requires attention. | The airline has modified the departure time, arrival time, or routing of a flight. This change is reported but pending confirmation from the airline.
**Example:** The traveler's 8:00 AM departure is moved to 10:30 AM by the airline due to operational changes. |
| 2 | `FLIGHT_SCHEDULE_ CHANGE_CLOSED` | When a previously pending schedule change has been resolved. | A schedule change that was flagged as pending has now been confirmed and closed.
**Example:** The 8:00 AM to 10:30 AM schedule change has been confirmed by the airline. |
| 3 | `FLIGHT_CABIN_ CHANGED` | When the cabin class on a flight is upgraded or downgraded. | The airline changed the cabin (e.g., from business to economy, or vice versa), typically due to an aircraft equipment change.
**Example:** A traveler was booked in business class, but the airline swapped the aircraft and downgraded them to premium economy.
In this scenario, if there's a price difference then the traveler or the agent must manually request a refund. |
| 4 | `FLIGHT_CANCELLED` | When one or more flight segments in a booking are canceled. | A specific flight in the itinerary has been canceled.
The booking may still have other active segments. This is a segment-level event which indicates a flight (not the entire booking) was canceled in a specific segment.
**Example:** The outbound flight JFK→LHR is cancelled by the airline due to bad weather, while the return flight LHR→JFK remains active. |
| 5 | `FLIGHT_CHANGED` | When the flight itinerary is changed and the existing ticket is revalidated for the new flights. | The traveler's flights have been changed via an exchange, but instead of issuing a new ticket, the airline revalidated the original ticket for the new routing.
**Example:** The traveler exchanges their direct JFK→LHR flight for a JFK→BOS→LHR routing, and the airline revalidates the original ticket for the new flights. |


```mermaid
flowchart LR
    subgraph schedule["Schedule and flight changes"]
        A["Ticketed booking"] --> B{"Airline initiates<br>a change?"}

        B -->|"Schedule<br>change"| C["<b>FLIGHT_SCHEDULE_<br>CHANGE_PENDING</b><br>―――――――――――<br>Airline modified flight time/route.<br>Pending review or acceptance."]
        C --> D["<b>FLIGHT_SCHEDULE_<br>CHANGE_CLOSED</b><br>―――――――――――<br>Schedule change accepted<br>or resolved."]

        B -->|"Cabin<br>change"| E["<b>FLIGHT_CABIN_CHANGED</b><br>―――――――――――<br>Cabin upgraded or downgraded<br>by the airline."]

        B -->|"Flight<br>cancelled"| F["<b>FLIGHT_CANCELLED</b><br>―――――――――――<br>One or more flight segments<br>cancelled by the airline."]

        B -->|"Itinerary changed<br>(ticket revalidated)"| G["<b>FLIGHT_CHANGED</b><br>―――――――――――<br>Flights changed, original ticket<br>revalidated for new routing."]
    end

    style A fill:#f0f0f0,stroke:#999
    style C fill:#E91E63,color:#fff
    style D fill:#4CAF50,color:#fff
    style E fill:#E91E63,color:#fff
    style F fill:#F44336,color:#fff
    style G fill:#FF9800,color:#fff
```