Skip to main content

deleteBooking

This mutation deletes an existing booking.

deleteBooking(
id: ID!
sendCancellationMessages: Boolean
notifyPractice: Boolean
): BookingResponsePayload

Arguments

deleteBooking.id ● ID! non-null scalar

deleteBooking.sendCancellationMessages ● Boolean scalar

deleteBooking.notifyPractice ● Boolean scalar

When true, sends a cancellation notification email to the practice containing the cancelled appointment's details (date and time, type, location, practitioner, booking ID and patient ID).

Type

BookingResponsePayload object

The requested/resulting booking or the error associated with the operation.