GET/v1/flights/fields/:gdsprovider/:offerId
Get required flight booking fields
Returns the dynamic passenger, document and identity fields required to complete booking for a selected flight offer.
Returns the dynamic passenger, document and identity fields required to complete booking for a selected flight offer.
Endpoint
| Method | Path | Auth |
|---|---|---|
GET | /v1/flights/fields/:gdsprovider/:offerId | Required API key |
| Header | Description |
|---|---|
Authorization | Bearer <secret_key>. The secret is shown only once when the credential is created. |
X-Travelandz-Id | <public_key>:<profile_code>. The profile_code is the dp_-prefixed Developer Profile code shown in your dashboard. This binds the request to a profile and credential. |
Content-Type | Use application/json for requests with a body. |
Request Params Schema
| Property | Type | Details | Required | Notes |
|---|---|---|---|---|
gdsprovider | number | Yes | Only gdsprovider "1" supports this flow | |
offerId | string | Yes | - |
Success Response
Returns required field definitions for the offer.
Response Body Schema
| Property | Type | Details | Required | Notes |
|---|---|---|---|---|
requiredFields | object | Yes | - | |
requiredFields | array | Yes | - | |
requiredFields[] | string[] | Yes | - | |
refreshedOfferId | string | Yes | - |
Operational Notes
This endpoint is currently provider-limited to gdsprovider "1" cancellation flows.