Skip to main content

Refresh Freight Tracking

POST 

/api/freight/shipments/:id/refresh-tracking

Fetch the latest tracking from the provider now (moving loads are also polled automatically). New events are added to tracking_events and the load's status moves forward (booked, picked up, in transit, out for delivery, delivered).

Required scope: orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

No body. Refused with 409 when the load is not moving (not booked yet, delivered or cancelled).

Errors. 409 when the load is in a state that does not allow this action; the body carries message and reasons (every problem, one per entry). 422 when the freight provider rejected the request; errors maps each field the provider named to its messages (an invalid API key appears under credentials). 502 when the freight provider did not answer; code carries the provider's error code when it sent one.

Authentication: Requires Bearer token with the orders:write scope.

Requires permission: freight.view

Request​

Responses​

OK

Response Headers
    Content-Type