Pull live LTL rates from Shippo
Calls the Shippo Freight Rates API for this order using the entity’s
configured Shippo connector credentials, and persists each returned rate as
a pending freight_quotes row. The order must already be flagged as freight
(returns 400 order_not_freight), have a valid shipping address (returns
400 Shipping address required), and carry at least one freight package
(returns 400 freight_packages_required). If the entity’s Shippo account
does not have the freight add-on, the endpoint returns 200 with
data.source = 'unsupported' and a reason plus shippo_status describing
the upstream Shippo error (graceful degradation: the operator can still
enter quotes manually). Network failures against Shippo also return 200 with
data.source = 'unsupported'. Successful rate-shopping returns
data.source = 'shippo' and a quotes array. Requires the orders:write
scope.
Authorizations
API key issued per entity via Settings > Developers > API Keys.
Each key carries scopes (e.g. orders:read, products:write).
Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.
Path Parameters
Body
Empty body accepted; rate parameters are derived from the order + its packages.
Response
Shippo rate response (success or graceful unsupported)

