> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: rescheduleBooking(bookingId: string, slot: V2Slot, options: RescheduleBookingOptions) # Method package: wixBookingsV2 # Method menu location: wixBookingsV2 --> bookings --> rescheduleBooking # Method Link: https://dev.wix.com/docs/velo/apis/wix-bookings-v2/bookings/reschedule-booking.md # Method Description: Reschedules a booking to a different slot or session. You can only reschedule bookings for appointments or classes, you can't reschedule course bookings. The old session is removed from the calendar and the new session is added. If you reschedule a booking for a class session the new session must be an existing session for the same class. You can pass a `participantNotification.message` to notify the customer of the rescheduling. You also need to pass `participantNotification.notifyParticipants` as `true` to actually send the message. In case the service has variants, you can call this endpoint to update the booking's `totalParticipants` or `participantsChoices`. If you provide `participantsChoices`, all of the provided choices must exist for the service. Otherwise, the call returns an `INVALID_SERVICE_CHOICES` error. If you omit `participantsChoices` in the request, the existing choices are kept and not replaced with an empty object. In case you want to reschedule a booking on behalf of a customer, we recommend to pass `flowControlSettings.ignoreReschedulePolicy` as `false`. This ensures that the rescheduling is validated against the service's rescheduling policy. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## rescheduleBooking example ```javascript import { bookings } from 'wix-bookings.v2'; async function rescheduleBooking(bookingId, slot, options) { try { const result = await bookings.rescheduleBooking(bookingId, slot, options); return result; } catch (error) { console.error(error); // Handle the error } } ``` ## rescheduleBooking example for exporting from backend code ```javascript import { bookings } from 'wix-bookings.v2'; import { webMethod, Permissions } from 'wix-web-module'; export const rescheduleBooking = webMethod( Permissions.Anyone, async (bookingId, slot, options) => { try { const result = await bookings.rescheduleBooking(bookingId, slot, options); return result; } catch (error) { console.error(error); // Handle the error } } ); ``` ---