Skip to navigation

8 · Cancel

Cancel a booking.

Only Kitionz Test Air cancels a booked flight through the API today. With your Live suppliers, cancelling a CONFIRMED or HELD booking is refused: contact the seller named in the booking’s supplier. Withdrawing a PENDING_FULFILMENT request works with every supplier, Live included (no supplier call).

What: cancels/voids a CONFIRMED or HELD booking with the supplier, or withdraws a PENDING_FULFILMENT request.

When: the customer cancels before travel and the supplier supports cancellation.

Note: cancellation is per-supplier. Suppliers that sell irrevocable inventory (e.g. series fares) return 422 CAPABILITY_NOT_SUPPORTED. Re-calling on an already-cancelled booking returns the same record (no double action).

Authentication

AuthorizationBearer

Your Kitionz API key, sent as Authorization: Bearer keyId:secret. Create it in your Kitionz console under API → API keys.

Path parameters

idstringRequired

Headers

Idempotency-KeystringRequiredformat: "^[a-zA-Z0-9_-]{1,255}$"

Unique key per logical write; reuse the SAME value on retries to get the original result instead of a duplicate side effect (ADR-0022).

Response

Default Response
successboolean
statusCodedouble
dataobject

A full persisted booking (passengers, segments, events, amounts, status).

metaobject