/amendments/create
This endpoint can be used to amend a booking in carrier system.
For details about how this endpoint fits into the flow, check the Amendments guide.
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
Use the ID of the booking that needs to be amended. Use the value retrieved from /reservations/{reservation_id} or /bookings/create response. Reference value: 8qbBSBst2XH39afW2WzAfQ
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 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 title of the lead passenger. The field accepts mr or mrs. Reference value: mr.
Set the first name of the lead passenger. Reference value: John.
Set the last name of the lead passenger. Reference value: Smith.
Set the email of the lead passenger. Reference value: email@provider.com.
Set the phone number of the lead passenger. Some carriers validate the phone number formatting. Reference value: +493533400275.
Set the city of the lead passenger. Reference value: Berlin.
Set the city of the lead passenger. Reference value: 13355.
Set the street and number of the lead passenger. Reference value: Wattstrasse 10.