Skip to main content

Request Freight Rates

POST 

/api/freight/shipments/:id/quote

Ask every connected freight account for rates on a draft or quoted load. Earlier rates from the asked accounts are retired and the load becomes quoted. Pricing runs in the background: the response lists the accounts in pending_providers; poll Get Freight Load until it is empty, then read rates (and failed_providers for accounts that could not price).

Required scope: orders:write

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

Body fields

  • connection_id (optional integer): price on this one connection only, for example to retry a provider that failed. Must be an existing freight connection, else 422 on connection_id.

The load is checked first; when it can't be quoted the 409 lists every problem (missing ZIP code, past pickup date, missing weights or dimensions, LTL pallets over 85 in, incomplete hazmat data, non-US addresses, no connected freight account).

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.quote

Request​

Responses​

OK

Response Headers
    Content-Type