Create Freight Load
POST/api/freight/shipments
Create a freight load: the ship-from and ship-to stops, handling units (pallets, crates, boxes), accessorials and references. Send quote: true to request rates in the same call; rates then arrive in the background (see pending_providers).
orders:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Start from Prefill Freight Load to build the body from a sales order or shipment.
Body fields
mode(required):ltl,ftl, orany(price every mode the connected providers offer).origin(required, object) anddestination(required, object):company,street1,street2,city,state(upper-cased),zip(5 digits, ZIP+4 accepted),country(2 letters, defaultUS),contact_name,phone,email. All optional while drafting; quoting needs both ZIP codes, booking needs company, street, city, state, ZIP, contact name, phone and email on both stops.destination.destination_type:business_dock,business_no_dock,residence,retail_dc,limited_access,trade_show,construction.handling_units(required, 1-50 entries):quantity(1-999),type(pallet,crate,box,drum,bundle),length_in(max 636),width_in(max 102),height_in(max 110),weight_lb_each(max 45000), all required; optionalfreight_class(50,55,60,65,70,77.5,85,92.5,100,110,125,150,175,200,250,300,400,500),nmfc_code(max 20),stackable(boolean),description(max 120), andhazmatwithun_number(UNorNA+ 4 digits, e.g.UN1266),proper_shipping_name,hazard_class,packing_group(I,II,III). Sendhazmatempty or omit it for non-hazardous goods.accessorials.pickup/accessorials.delivery: arrays ofliftgate,inside,residential,limited_access,appointment; delivery also acceptsnotify.sales_order_id,sales_order_fulfillment_id,origin_warehouse_id: optional links (must exist).pickup_date(Y-m-d),pickup_window.from/pickup_window.to(H:i,toafterfrom).references.customer_po,references.shipper_reference(max 60 each),declared_value(0-10,000,000),special_instructions(max 1000).quote(boolean, default false): ask every connected freight account for rates right after saving.
A draft can be saved half-filled. Whether the load can be quoted (weights, dimensions, the 85 in LTL height limit, complete hazmat data, US addresses) is checked when rates are requested.
Returns 201 with the load in the same shape as Get Freight Load.
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
- 201
- 401
- 403
- 409
- 422
- 429
Created
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.
Conflict
Response Headers
Unprocessable Content
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.