Docs
Get an API key
Flight Bookings

List a booking's purchasable bags

GET
/v1/flight/bookings/{id}/available-services

Bags the airline sells on a confirmed booking right now, asked live. Empty when the airline sells none after booking, or the booking already carries bags. 409 unless the booking is CONFIRMED.

Authorization

x-api-key<token>

Your API key. Issued and revoked from the TrustPixel dashboard; the gateway resolves it to an owning organization on every request.

In: header

Path Parameters

id*string

Header Parameters

x-request-id?string

Correlation id echoed to the upstream service and returned on the response. Generated as req_<uuid> when omitted.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/flight/bookings/string/available-services"
{  "data": [    {      "id": "ase_00009UhD4ongolulWd9123",      "type": "BAGGAGE",      "baggage": {        "type": "CHECKED",        "max_weight_kg": 23      },      "passenger_id": "psg_0192f3a4b5c6",      "segment_ids": [        "string"      ],      "maximum_quantity": 1,      "unit_amount": {        "amount": 40,        "currency": "USD"      }    }  ]}