Stop Event Endpoint
Updated last week
Record the arrival and departure times on the stop named in native_system_stop_id. We send a stop event whenever a tracker records an arrival or departure, or one is approved from a driver or carrier message, along with any delay reason.
Suggested path: POST /trackflo/stop-events. Authentication, the shared fields, responses and retries are in Build Write-Back Endpoints for TrackFlo.
Fields
Every request carries the shared fields plus these. event_type is stop_event.
Field | Type | Description |
|---|---|---|
| string | Your stop id, as you sent it to TrackFlo. |
| integer | The stop's position on the leg, starting at 1. |
| string | The stop type, as you sent it to TrackFlo. |
| string or null | When the truck arrived. |
| string or null | The same time, local to the stop. |
| string or null | When the truck left. |
| string or null | The same time, local to the stop. |
| string or null | The stop's timezone, for example |
| string or null | Why the truck was late. See Delay codes below. |
| string or null | The tracker's explanation of the delay, up to 500 characters. |
| string | Where the times came from. Same values as |
| string or null | The tracker's comment on the stop update, up to 600 characters. It also arrives as a load update; see below. |
Example
{
"event_id": "0c9a7e52-3b1f-4d8e-a6c2-91f04e7d2b13",
"event_type": "stop_event",
"native_system_load_id": "1089520",
"native_system_load_leg_id": "2330158",
"entered_by_name": "Jordan Ellis",
"entered_by_email": "[email protected]",
"entered_by_tms_user_id": "JELLIS",
"entered_at_utc": "2026-10-25T13:05:44Z",
"trackflo_load_url": "https://app.trackflo.tech/public_load_details/4b6e…",
"native_system_stop_id": "88214",
"stop_sequence": 2,
"stop_type": "Delivery",
"arrived_date_time_utc": "2026-10-25T12:10:00Z",
"arrived_date_time_local": "2026-10-25T07:10:00",
"departed_date_time_utc": null,
"departed_date_time_local": null,
"stop_local_iana_timezone": "America/Chicago",
"delay_code": "AH",
"delay_comment": "Driver ran out of hours overnight, restarted at 05:00.",
"stop_update_data_source": "Phone Call with Driver",
"comment": null
}Respond with your stop's id or the id of the record you created:
{ "id": "88214" }Applying a stop event
An event carries an arrival, or an arrival and a departure. A departure always comes with the stop's arrival time, even when you already hold it. A null time means that time isn't part of this update. Leave the value you hold in place; it never means clear it.
A correction is a new event. When a tracker fixes a wrong time, we send the corrected time in a new stop event. Store the corrected time even when it is earlier than the time you already hold: the correction always replaces the stored time, so don't drop it because its event time sorts before the event that carried the wrong value. Keep ordering updates by their event time, including
arrived_date_time_utc, to handle retries and out-of-order delivery, as described in Retries and duplicates in Build Write-Back Endpoints for TrackFlo.A status change can follow. When an arrival or departure at the leg's first pickup or final delivery moves the load to a new status, we also send a status change using your status code for it. A stop in the middle of the leg never changes the status. Your team builds that mapping with us during onboarding.
A load update follows too. We also send a load update recording the stop event: the tracker's
comment, or a note such asStop Update: Arrived: …, Stop: Dallas, TXwhen there is none.
Delay codes
By default, delay_code is an EDI 214 status reason code. If your TMS keeps its own list, we agree it with you during onboarding and send your codes instead.
Code | Meaning |
|---|---|
| Accident |
| Consignee related |
| Driver related |
| Mechanical breakdown |
| Other carrier related |
| Previous stop (multi-stop loads only) |
| Shipper related |
| Weather or natural disaster related |
| Customer, other |
| Internal error |
A delay_code usually comes with a delay_comment. A delay read from a driver or carrier message can arrive without one, and its code may not be on this list; store it as sent.