Skip to navigation

Refresh

Refresh a booking from the supplier.

What: asks the supplier for the latest state of the booking now, and returns the updated booking.

When: only now and then, when you want the latest truth for a HELD or PENDING_CONFIRMATION booking (Kitionz already checks pending bookings for you; for routine waiting read GET /bookings/{id}).

Gotcha: when there is nothing to ask the supplier yet — a request booking, a booking whose supplier gave no clear answer, or a supplier with no booking look-up — you get the booking as Kitionz holds it (200), never an error.

Authentication

AuthorizationBearer

Your Kitionz API key, sent as Authorization: Bearer keyId:secret. Create a Test key at sandbox.kitionz.com → API keys, a Live key at kitionz.com → API → API keys.

Path parameters

idstringRequired

Headers

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

A new unique value (a UUID) for every write: one booking, one cancel. Save it with your order before you call. Send the SAME value again only when you send the SAME request again after a timeout: you get the first answer back. Reusing it on any other write answers 422 IDEMPOTENCY_KEY_REUSED_WITH_DIFFERENT_PARAMS.

Response

Default Response
successboolean
statusCodedouble
dataobject

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

metaobject