Freight
LTL-specific shipment workflows.
/api/v1/freightAuthorization
ApiKeyAuth Authenticate with your secret API key in the Authorization header: Authorization: Bearer fk_live_.... Use an fk_test_ key to operate against test mode, which never contacts a carrier or moves real freight.
In: header
Query Parameters
Page size. Defaults to a server-chosen value; maximum 100.
1 <= value <= 100Cursor: return records after this id.
Cursor: return records before this id.
Filter by customer.
0 <= valueResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/freight"{ "object": "list", "data": [ { "object": "shipment", "id": 0, "customer_id": 0, "status": "string", "carrier_name": "string", "service_level": "string", "tracking_number": "string", "pro_number": "string", "bol_number": "string", "origin": { "city": "string", "state": "st", "zip": "string", "company": "string", "contact": "string", "address": "string", "phone": "string", "email": "user@example.com" }, "destination": { "city": "string", "state": "st", "zip": "string", "company": "string", "contact": "string", "address": "string", "phone": "string", "email": "user@example.com" }, "total_charge_cents": 0, "pickup_date": "string", "delivery_estimate": "string", "created_at": "string" } ], "has_more": true, "url": "/api/v1/freight"}/api/v1/freightFreight endpoints mirror the shipment endpoints for LTL-specific workflows.
Authorization
ApiKeyAuth Authenticate with your secret API key in the Authorization header: Authorization: Bearer fk_live_.... Use an fk_test_ key to operate against test mode, which never contacts a carrier or moves real freight.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/freight" \ -H "Content-Type: application/json" \ -d '{ "quote_id": 0 }'{ "object": "shipment", "id": 0, "customer_id": 0, "status": "string", "carrier_name": "string", "service_level": "string", "tracking_number": "string", "pro_number": "string", "bol_number": "string", "origin": { "city": "string", "state": "st", "zip": "string", "company": "string", "contact": "string", "address": "string", "phone": "string", "email": "user@example.com" }, "destination": { "city": "string", "state": "st", "zip": "string", "company": "string", "contact": "string", "address": "string", "phone": "string", "email": "user@example.com" }, "total_charge_cents": 0, "pickup_date": "string", "delivery_estimate": "string", "created_at": "string"}/api/v1/freight/{id}Authorization
ApiKeyAuth Authenticate with your secret API key in the Authorization header: Authorization: Bearer fk_live_.... Use an fk_test_ key to operate against test mode, which never contacts a carrier or moves real freight.
In: header
Path Parameters
Resource identifier.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/freight/string"{ "object": "shipment", "id": 0, "customer_id": 0, "status": "string", "carrier_name": "string", "service_level": "string", "tracking_number": "string", "pro_number": "string", "bol_number": "string", "origin": { "city": "string", "state": "st", "zip": "string", "company": "string", "contact": "string", "address": "string", "phone": "string", "email": "user@example.com" }, "destination": { "city": "string", "state": "st", "zip": "string", "company": "string", "contact": "string", "address": "string", "phone": "string", "email": "user@example.com" }, "total_charge_cents": 0, "pickup_date": "string", "delivery_estimate": "string", "created_at": "string"}/api/v1/freight/{id}Authorization
ApiKeyAuth Authenticate with your secret API key in the Authorization header: Authorization: Bearer fk_live_.... Use an fk_test_ key to operate against test mode, which never contacts a carrier or moves real freight.
In: header
Path Parameters
Resource identifier.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/v1/freight/string" \ -H "Content-Type: application/json" \ -d '{}'{ "object": "shipment", "id": 0, "customer_id": 0, "status": "string", "carrier_name": "string", "service_level": "string", "tracking_number": "string", "pro_number": "string", "bol_number": "string", "origin": { "city": "string", "state": "st", "zip": "string", "company": "string", "contact": "string", "address": "string", "phone": "string", "email": "user@example.com" }, "destination": { "city": "string", "state": "st", "zip": "string", "company": "string", "contact": "string", "address": "string", "phone": "string", "email": "user@example.com" }, "total_charge_cents": 0, "pickup_date": "string", "delivery_estimate": "string", "created_at": "string"}/api/v1/freight/{id}/cancelAuthorization
ApiKeyAuth Authenticate with your secret API key in the Authorization header: Authorization: Bearer fk_live_.... Use an fk_test_ key to operate against test mode, which never contacts a carrier or moves real freight.
In: header
Path Parameters
Resource identifier.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/freight/string/cancel"{ "object": "shipment", "id": 0, "customer_id": 0, "status": "string", "carrier_name": "string", "service_level": "string", "tracking_number": "string", "pro_number": "string", "bol_number": "string", "origin": { "city": "string", "state": "st", "zip": "string", "company": "string", "contact": "string", "address": "string", "phone": "string", "email": "user@example.com" }, "destination": { "city": "string", "state": "st", "zip": "string", "company": "string", "contact": "string", "address": "string", "phone": "string", "email": "user@example.com" }, "total_charge_cents": 0, "pickup_date": "string", "delivery_estimate": "string", "created_at": "string"}/api/v1/freight/{id}/trackingAuthorization
ApiKeyAuth Authenticate with your secret API key in the Authorization header: Authorization: Bearer fk_live_.... Use an fk_test_ key to operate against test mode, which never contacts a carrier or moves real freight.
In: header
Path Parameters
Resource identifier.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/freight/string/tracking"{ "object": "tracking", "tracking_number": "string", "carrier_name": "string", "status": "string", "estimated_delivery": "string", "delivered_at": "string", "events": [ { "status": "string", "description": "string", "location": "string", "occurred_at": "string" } ]}/api/v1/freight/{id}/bolAuthorization
ApiKeyAuth Authenticate with your secret API key in the Authorization header: Authorization: Bearer fk_live_.... Use an fk_test_ key to operate against test mode, which never contacts a carrier or moves real freight.
In: header
Path Parameters
Resource identifier.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/freight/string/bol"{ "object": "bol", "bol_number": "string"}/api/v1/freight/{id}/bol/pdfAuthorization
ApiKeyAuth Authenticate with your secret API key in the Authorization header: Authorization: Bearer fk_live_.... Use an fk_test_ key to operate against test mode, which never contacts a carrier or moves real freight.
In: header
Path Parameters
Resource identifier.
Response Body
application/pdf
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/freight/string/bol/pdf""string"