How to re-scehdule a booking?

Im using the Square API to build a custom site for a client, Im stuck with some of the appointments functionality.

Scenario

  1. A customer scheduled an appointment for 1:00 PM
  2. Customer Then cancels the appointment. Status CANCELLED_BY_CUSTOMER
  3. Customer tries to re schedule that same appointment.

In the Scenario above im having issues with item 3. Im not able to re scehdule the booking.

I tried
Update Booking with the same appointment segments but does not do anything.

I went over the API reference and i was not able to find the way of doing this.

:wave: What are the steps that you’re taken to get this behavior? I’ve tried to replicate this and once I cancel an appointment then create a new booking for the customer for the same time it works. :slightly_smiling_face: