Reschedule booking

Move a booking to another slot

POST/v1/bookings/{bookingId}/reschedule

Headers

  • x-manage-tokenstringRequired

    The manageToken returned by create_booking. Proves the caller is the customer. Never show it to anyone else.

Path parameters

  • bookingIdstringRequired

    Booking id as returned by create_booking (prefix bkg_).

Body

  • slotIdstringRequired

    Opaque slot id as returned by list_available_slots (prefix slt_). Copy it exactly; never construct one yourself.

  • acceptedAmountMinorinteger

    Only needed if the new slot costs a different amount: the new total, in minor units (the slot's price.amountMinor), that the customer agreed to pay.

  • consentConsentInputRequired
  • consent.humanConfirmedbooleanRequired

    Set true ONLY after the human customer read what they are agreeing to (quote.summary to book; the new time and price to move a booking) and said yes. Never assume or invent consent.

  • consent.statementstring (up to 500 characters)Required

    The customer's own reply agreeing (to the booking, or to the move), copied word for word. Required: it is kept as the consent record. Never write it yourself.

Responses

  • 200

    A booking: its status, time, price, the customer's consent record and what to do next.

    Booking
  • 404

    No such id, or it is not visible to this key.

    NotFound
  • 409

    The booking is not in a state that allows this. | The slot was taken or can no longer be booked: alternatives lists nearby openings. | The price is no longer the one quoted: show the new one and get a fresh yes. | The way this is confirmed (instantly or by the business) is no longer the one quoted: show the new quote and get a fresh yes.

  • 422

    The customer's explicit consent is missing: stop and ask the human.

    ConsentRequired