Cancel appointment
cancel_appointmentCall off a CONFIRMED appointment (carrier or facility can't make it); it becomes CANCELLED and its door time is freed. Final: a cancelled appointment can't be restored, so confirm with the user first. To decline a PENDING request use reject_appointment (it records a reason); to move the time use reschedule_appointment; for a truck that never showed use set_appointment_status NO_SHOW. Already COMPLETED or NO_SHOW appointments can't be cancelled (conflict); cancelling twice is a no-op. Emails the carrier a cancellation notice, stops pending reminders, and fires an appointment.cancelled webhook. Returns the updated appointment. Requires scope appointments:write (Scheduler role or above).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appointmentId | Yes | Appointment id, from list_appointments, get_appointment, or create_appointment. |