/reservations/create
This endpoint can be used to place a reservation in carrier system.
For details about how this endpoint fits into the flow, check the Creating Reservation step.
Header Parameters
Set your API key. To request a demo API key please reach out to us at partner@distribusion.com. Reference value: ZW8FXhnBl53yTkrMvoqLp4Xq7mf9nEBGsxpTWrid.
Body Parameters
Set the carrier code. Use the value retrieved from the selected trip from the /connections/find response. Reference value: AMTR.
Set the departure station code. Use the value retrieved from the selected trip from the /connections/find response. Reference value: FRPARPGB.
Set the arrival station code. Use the value retrieved from the selected trip from the /connections/find response. Reference value: DEBERCBS.
Set the departure date and time. Use the value retrieved from the selected trip from the /connections/find response. Reference value: 2024-04-25T06:58.
Set the arrival date and time. Use the value retrieved from the selected trip from the /connections/find response. Reference value: 2024-04-25T08:30.
Set the departure date and time for the return leg of the trip. Use the value retrieved from the selected trip from the /connections/find response. Reference value: 2024-04-26T06:22.
Set the arrival date and time for the return leg of the trip. Use the value retrieved from the selected trip from the /connections/find response. Reference value: 2024-04-26T10:34.
Set the retailer partner number (RPN). Contact your partnership manager to receive yours. Reference value: 012345.
Set the fare class. Use the value retrieved from the selected trip from the /connections/find response. Default set to FARE-1 if the field is not used. Reference value: FARE-1.
Set the language for the content of the response. The field accepts ISO 639 language codes. If the content in the specified language is unavailable, English will be returned. For more details check our Languages guide. Reference value: en.
Set the currency of all monetary results in the response. The field accepts ISO 4217 currency codes. For more details check our Currencies guide. Reference value: EUR.
Activate results for carriers that allow virtual interlining for supported retailer accounts. For more details check our Virtual Interlining guide. Reference value: true.
For multiple passengers, add additional entries of the same entity.
Show child attributes
To be used only when ancillaries are required as part of the reservation, and when they apply at booking level. The list of ancillaries available are displayed in the response from the /connections/vacancy endpoint. This feature is only available for certain carriers.
Show child attributes
To be used only when discount cards are applied as part of the reservation, and when they apply at booking level. The card details are displayed in the response from the /cards endpoint, but must be applied in the /connections/find request beforehand. This feature is only available for certain carriers.