Get inventory details by ID
Don’t worry! Existing integrations using input fields from the Get Product response will continue to work for booking submissions—no changes are required in the interim. This endpoint is designed to handle the small number (~5%) of inventories where suppliers define inventory-specific input fields that differ from the variant definition, removing the need for manual intervention.
Fetch the exact customer input fields required for a specific inventory before creating a booking. While the fields returned by Get Product are sufficient for most bookings, some inventories may require additional or overridden fields based on supplier configuration. Common examples include pickup location, drop-off address, nationality, passport number, meal preference, age, weight, or hotel name.
Use the returned field id (numeric string) as the key when submitting inputFields in the Create booking request.
Authorizations
Path Parameters
The inventory ID to fetch booking fields for. Obtain this from the id field in the inventory listing response.
Query Parameters
Language code for field names and predefined option labels (e.g., EN, ES). Defaults to EN.
Response
Successful response