Set Freight Method for Routed Loads
PUT/api/trackstar/integration-instances/:integration_instance/shipping-methods/routing/routed-freight
Choose the shipping method a retailer-routed freight load goes out with when its routed carrier maps to no shipping method on this connection (for example a load routed to ODFL at a warehouse that lists no ODFL method). The order still names the routed carrier, load number, BOL and pickup date in its notes, and it never goes out on the order's parcel method.
integrations:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
trackstar_shipping_method_id (required, may be null): the id of a synced shipping method on this connection. Send null to go back to detecting it: the one method named "LTL" (when several are, the one under the generic carrier), else the one method with "LTL" or "less than truckload" in its name.
When no freight method is chosen or detected, such orders are held with a reason that links here, and are sent once one is set.
The response is the full routing configuration; routed_freight.effective_name is what dispatch sends now (null means such loads are held).
Authentication: requires a Bearer token.
Requires the integrations.update permission.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
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.
Unprocessable Entity
Response Headers
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.