.. _Cancel-booking:
**************
Cancel booking
**************
.. raw:: html
Workflow description
To cancel an existing booking of an airline, the client must send the IATA_OrderCancelRQ message including the "OrderID" of the booking.
If the "OrderID" is unknown, the client can search for an existing booking (see :ref:`Search-bookings` for more details).
The API will return an IATA_OrderCancelRS indicating the result of the operation. In case there was an error, the response will contain an "Error"-element. Otherwise, the response will only contain the order ID.
.. raw:: html
Message Flow
.. image:: ../images/Cancel_booking.png