/cancellations/conditions
Retrieve cancellation conditions for a certain booking. To enable the cancellation of tickets through your system, you can use this endpoint to display the conditions for the cancellation of a specific booking.
For details about how this endpoint fits into the flow, check the Cancel Booking 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.
Query Parameters
Set the ID of the booking to be checked. Use the value retrieved from the /reservations/{reservation_id} or /bookings/create response. Reference value: 8qbBSBst2XH39afW2WzAfQ.
Set the reason for the cancellation in case grace period cancellations or technical cancellations are supported by the carrier (such as DB). Sample value ticket_not_used.