API documentation for LTL Operations
- List LTL shipments by Order Numbers and Rate Numbers
Create a new LTL shipment
List LTL shipments by Ord...
LTL API (1.0.0)
Languages
Servers
Sandbox Server
https://apitest.drayeasy.com/
Production Server
https://api.drayeasy.com/
- Sandbox Serverhttps://apitest.drayeasy.com/api/ltl/shipments
- Production Serverhttps://api.drayeasy.com/api/ltl/shipments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://apitest.drayeasy.com/api/ltl/shipments?order_numbers=123%2C456%2C789&rate_numbers=R123%2CR456%2CR789' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
{ "data": [ { … } ] }
Bodyapplication/jsonrequired
Rate number from the quote API response
Example: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
- Sandbox Serverhttps://apitest.drayeasy.com/api/ltl/shipments
- Production Serverhttps://api.drayeasy.com/api/ltl/shipments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://apitest.drayeasy.com/api/ltl/shipments \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"pickup_company_name": "test",
"pickup_contact_name": "John",
"pickup_contact_email": "1@1.com",
"pickup_contact_phone": "1234567890",
"pickup_contact_phone_ext": "123",
"pickup_address1": "123 Main St",
"pickup_address2": "Apt 4B",
"destination_company_name": "test",
"destination_contact_name": "John",
"destination_contact_email": "2@1.com",
"destination_contact_phone": "1234567890",
"destination_contact_phone_ext": "456",
"destination_address1": "456 Elm St",
"destination_address2": "Suite 5",
"pickup_open_time": "08:00",
"pickup_close_time": "17:00",
"destination_open_time": "09:00",
"destination_close_time": "18:00",
"customer_reference_number": "REF123",
"pickup_special_request": "Leave at front desk",
"destination_special_request": "Call upon arrival",
"pickup_number": "",
"dropoff_number": "",
"rate_number": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"is_insurance_entrusted": true,
"cargo_value": 2000
}'Response
application/json
{ "data": { "order_number": "LS241205028749", "pickup_company_name": "Pickup Company", "pickup_contact_name": "John Doe", "pickup_contact_phone": "123-456-7890", "pickup_contact_email": "pickup@example.com", "pickup_zipcode": "90047", "pickup_city": { … }, "pickup_address1": "123 Main St", "pickup_address2": "Apt 4B", "destination_company_name": "Destination Company", "destination_contact_name": "Jane Doe", "destination_contact_phone": "987-654-3210", "destination_contact_email": "destination@example.com", "destination_zipcode": "92404", "destination_city": { … }, "destination_address1": "456 Elm St", "destination_address2": "Suite 5", "pro_number": "PRO123456789", "pickup_accessorials": [ … ], "destination_accessorials": [ … ], "pickup_special_request": "Special request", "destination_special_request": "Special request", "pickup_number": "123", "dropoff_number": "123", "customer_reference_number": "REF123", "customer_status": "Pending", "rate": 2482.04, "cargo_value": 1221, "premium": 1221, "is_insurance_entrusted": true, "pickup_open_time": "08:00", "pickup_close_time": "18:00", "estimated_pickup_date": "2024-12-31", "actual_pickup_date": "2024-12-31", "estimated_delivery_date": "2025-01-31", "actual_delivery_date": "2025-01-31", "destination_open_time": "09:00", "destination_close_time": "18:00", "items": [ … ], "documents": [ … ], "created_at": "2024-12-05 02:44" } }