Mark truck arrived
mark_arrivedRecord that a truck has physically arrived at the dock (e.g. "the Swift driver just pulled in"). Starts the dwell-time clock, which ends when the appointment is marked COMPLETED. Pass arrived: false to undo a mistaken arrival; repeating it keeps the first arrival time. Status stays as is: when the truck leaves, use set_appointment_status COMPLETED. Not the same as check_in_appointment, which records the driver's own on-track or running-late update before arrival. Fires an appointment.arrived webhook; no carrier email. Returns the updated appointment (checkedInAt is the arrival time). Requires scope appointments:receive (Dock Staff role or above).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arrived | No | Defaults to true. false clears the arrival. | |
| appointmentId | Yes | Appointment id, from list_appointments, get_appointment, or create_appointment. |