/reservations/confirm
This endpoint can be used to confirm a reservation in carrier system.
For details about how this endpoint fits into the flow, check the Confirming 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 ID of the reservation to be confirmed. Use the value retrieved from /reservations/create response. Reference value: RAWFZHK9.
Set the payment execution method. Standard value should be set to false for all retailers, unless discussed with your Partnership Manager. Reference value: false.
Set the payment method. Standard value should be set to demand_note for all retailers, unless discussed with your Partnership Manager. Reference value: demand_note.
Set the acceptance status of the terms by the passenger. Reference value: true.
Enable the standard Distribusion confirmation and cancellation email to be sent to the passenger. If set to false, retailer must send their own email with the pdf ticket attached. For more details check our Ticket Delivery guide. Reference value: true.
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.
Set the ID of the reservation/booking. This value can be created by the retailer and used to make identification easier. Reference value: ABC123.
Set the ID of the payment retrieved from the retailer payment flow. It can be useful when the retailer has to do reconciliation of payments and bookings. Reference value: ABC123.