Improved
Oct 21, 2024
almost 2 years ago by Sergey Zaikin
Booking API updates
Added a new property type to the Installment object in the following endpoints:
GET /trips/{trip_uuid}/bookingsGET /trips/{trip_uuid}/orders/{order_id}PUT /orders/{order_id}/edit_payment_planPUT /orders/batch/edit_payment_plan
The type property is a string and can be one of the following values: "deposit", "due_at_booking", or "installment".
The days_before_departure field is now optional for deposit and due_at_booking types but remains mandatory for installment.

