Logo
DeltaTrak API Documentation

Edit

PUT {{baseUrl}}/account/:accountID/shipment/:tripNumber

 

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//account/:accountID/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","airline":{"estimated_departure_date":"ISODate","estimated_arrival_date":"ISODate","flight_hours":0,"airline":"string","flight_number":"string","departure_airport_id":"string","arrival_airport_id":"string","flight_mode":true},"maritime":{"arrival_port_id":"L3246871783122","departure_port_id":"L3246871783122","bol":"A1","scac":"S1"}}'

ENDPOINTS