Logo
DeltaTrak API Documentation

Create

POST {{baseUrl}}/shipment

Creates new empty shipment record for a specific RTL Device ID. The Device ID must be free and not used for any other shipment with Incomplete status.

■ Ability to specify a single Product ID
■ Ability to specify locations (Shipper Location ID, Receiver Location ID, Airport
and Marine Port IDs, etc)
■ Available receiver locations include this account's receiver locations, plus any
receiver locations shared by receiver sharing

■ If user specifies a 3rd party receiver location, then the list of available products
to associate is limited to that receiver's locations, meaning product and receiver
location must match accounts
■ API should throw an error if the selected product doesn't match the account of
the selected receiver location.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Authorization
string
Content-Type
string




RESPONSES

status OK





Curl
curl -X POST 'https://axeecknwif.execute-api.us-east-1.amazonaws.com/prod//shipment' -H 'Authorization: eyJhbGciOiJub25lIn0.eyJvcmdhbml6YXRpb25JRCI6IjYzNzY0ZjI2MGU0MzM2MDAxMWJlMDFmNSIsInVzZXJJRCI6IjYzOTc3ZTdkYmEyOWY1MDAxODcxN2ZjOCIsImlhdCI6MTY3NTI4MDU3NSwiaXNzIjoidXJuOmZsYXNodHJhazppc3N1ZXIiLCJhdWQiOiJ1cm46dXNlcjphdWRpZW5jZSIsImV4cCI6MTk5MDg1NjU3NX0.' -H 'Content-Type: application/json' -d '{"shipment_name":"test123","trip_number":"TAGO122322","shipper_id":"L1668791048246","receiver_id":"L1668717805314","product_id":"Akbeob5hakc!","estimated_arrival_date":"2022-11-30T17:56:54.586Z","estimated_departure_date":"2022-11-30T17:56:54.586Z","purchase_order":"AB120341","maritime":{"arrival_port_id":"L1668704549662","departure_port_id":"L1668704549662","bol":"A1","scac":"S1","vessel_imo":"1221","vessel_name":"Test"}}'

ENDPOINTS