Truckload
Create shipment
This endpoint can be used to create a truckload shipment.
- A successfully created shipment returns a shipmentId with a status of pending, and echoes the shipment data passed in.
- It also includes any additional default data from Freightview (e.g. a location's latitude, longitude, & timezone, and the default account bill-to information if none was specified in the create request).
post/v2.0/shipments/truckload
Request
- Base URL: https://api.freightview.dev
- URL: https://api.freightview.dev/v2.0/shipments/truckload
- Auth: OAuth 2 (client credentials, token URL /v2.0/auth/token)
Request body
Example request
{
"locations": [
{
"postalCode": "10111",
"country": "us",
"stopDate": "2021-03-01",
"accessorials": [
{
"opensAt": "15:30",
"closesAt": "15:30"
}
],
"opensAt": "15:30",
"closesAt": "15:30"
}
],
"billTo": {
"postalCode": "10111",
"country": "us",
"contactPhone": "(555) 555-5555"
},
"equipment": {
"declaredValueCurrency": "usd"
},
"customsBroker": {
"country": "us",
"phone": "(555) 555-5555",
"postalCode": "10111"
},
"customsBrokers": [
{
"country": "us",
"phone": "(555) 555-5555",
"postalCode": "10111"
}
],
"emergencyContact": {
"phone": "(555) 555-5555"
},
"items": [
{
"customsValueCurrency": "usd",
"declaredValueCurrency": "usd",
"type": "pallet",
"contains": [
{
"customsValueCurrency": "usd",
"declaredValueCurrency": "usd"
}
]
}
],
"glCode": "4000-100"
}Response
Created
Example response
{
"locations": [
{
"postalCode": "10111",
"country": "us",
"shipType": "business dock",
"stopDate": "2021-03-01",
"accessorials": [
{
"opensAt": "15:30",
"closesAt": "15:30"
}
],
"opensAt": "15:30",
"closesAt": "15:30"
}
],
"billTo": {
"postalCode": "10111",
"country": "us",
"contactPhone": "(555) 555-5555"
},
"equipment": {
"declaredValueCurrency": "usd"
},
"customsBroker": {
"country": "us",
"phone": "(555) 555-5555",
"postalCode": "10111"
},
"customsBrokers": [
{
"country": "us",
"phone": "(555) 555-5555",
"postalCode": "10111"
}
],
"emergencyContact": {
"phone": "(555) 555-5555"
},
"items": [
{
"customsValueCurrency": "usd",
"declaredValueCurrency": "usd",
"type": "pallet",
"contains": [
{
"customsValueCurrency": "usd",
"declaredValueCurrency": "usd"
}
]
}
],
"selectedQuote": {
"expirationDate": "2021-03-01"
},
"tracking": {
"deliveryDateEstimate": "2021-03-01",
"items": [
{
"deliveryDateEstimate": "2021-03-01"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.