Improved

Oct 21, 2024

Booking API updates

Added a new property type to the Installment object in the following endpoints: 

  • GET /trips/{trip_uuid}/bookings
  • GET /trips/{trip_uuid}/orders/{order_id}
  • PUT /orders/{order_id}/edit_payment_plan
  • PUT /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.