Logo
DeltaTrak API Documentation

Create

POST {{baseUrl}}/account/:accountID/shipment

Create a Shipment to a specific Customer.

■ Trip Number must be created beforehand using the /trip endpoint

■ Shipment ID will be generated automatically if not provided

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
authorization
string (Required)




RESPONSES

status Created

{ "message": "Shipment succesfully created" }



Curl
curl -X POST 'https://axeecknwif.execute-api.us-east-1.amazonaws.com/prod//account/:accountID/shipment' -H 'authorization: token' -d '{"shipment_name":"string","trip_number":"string","shipment_id":"string","purchase_order":"string","carrier_id":"string","receiver_id":"string","shipper_id":"string","estimated_departure_date":"ISODate","estimated_arrival_date":"ISODate","product_id":"string","airline":{"flight_hours":0,"airline":"string","flight_number":"string","departure_airport_id":"string","arrival_airport_id":"string","flight_mode":true},"maritime":{"bol":"string","scac":"string","user_estimated_departure_date":"ISODate","user_estimated_arrival_date":"ISODate","departure_port_id":"string","arrival_port_id":"string"}}'

ENDPOINTS