Rates
post
/ratesgetAllRatesGet rates from all active connectors
Fans out to every active carrier connector for the authenticated tenant and returns all available services. Uses `Promise.allSettled` — one carrier being down does not fail the request; its `error` entry is included in the response instead.
Request body
RateRequest
Responses
200Rate results from all connectors. Each entry is either a successful carrier result or an error — check `success` to distinguish.AggregatedRateResponse
400Invalid request — validation failed or carrier rejected inputError
401Missing or invalid API keyError
403Freight access is not active for this tenantError
post
/{connectorId}/ratesgetConnectorRatesGet rates from a specific connector
Queries a single carrier connector. Set `serviceCode` to get pricing for one service only; omit it to receive all available services.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
| connectorId | path | ✓ | Database ID of the carrier connector account (from `GET /connectors`) |
Request body
RateRequest
Responses
200Available rated services for this connectorRatedService[]
400Invalid request — validation failed or carrier rejected inputError
401Missing or invalid API keyError
403Freight access is not active for this tenantError
404Connector not found or not active for this tenantError
502Carrier API returned an error or is unavailableError
