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).
orders:writeGrant 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
- 200
- 401
- 403
- 404
- 409
- 422
- 429
- 502
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Conflict
Response Headers
Validation failed — the body is a field → messages map (Laravel shape) or the platform envelope with a stable machine-readable code. Fix the payload and resubmit.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.
Bad Gateway