Logo
DeltaTrak API Documentation

Edit

PUT {{baseUrl}}/shipment/:tripNumber

Edit a Shipment with Incomplete status. Completed shipments shall no longer receive data from the associated Device ID.

■ Same criteria/rules as above
■ Will missing optional parameters clear that existing field in the DB, or leave that
field untouched? Think clearing is better, meaning the entire dataset is required.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Authorization
string




RESPONSES

status OK

{ "shipment_name": "test", "carrier_id": "L2348717831021", "shipper_id": "L3246871783122", "receiver_id": "L1668717831024", "product_id": "Ammgzwkj2h3!", "estimated_arrival_date": "2022-11-17T17:56:54.586Z", "estimated_departure_date": "2022-11-17T17:56:54.586Z", "purchase_order": "AB120341", "maritime": { "arrival_port_id": "L3246871783122", "departure_port_id": "L3246871783122", "bol": "A1", "scac": "S1", "vessel_imo": "1221", "vessel_name": "Test" } }



Curl
curl -X PUT 'https://axeecknwif.execute-api.us-east-1.amazonaws.com/prod//shipment/:tripNumber' -H 'Authorization: token' -d '{"shipment_name":"test","carrier_id":"C1673900480651","shipper_id":"L3246871783122","receiver_id":"L1668717831024","product_id":"Ammgzwkj2h3!","estimated_arrival_date":"2022-11-17T17:56:54.586Z","estimated_departure_date":"2022-11-17T17:56:54.586Z","purchase_order":"AB120341","maritime":{"arrival_port_id":"L3246871783122","departure_port_id":"L3246871783122","bol":"A1","scac":"S1"}}'

ENDPOINTS