Logo
DeltaTrak API Documentation

Complete Shipment

PUT {{baseUrl}}/shipment/:tripNumber/complete

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

■ Empty body?
■ Completes the shipment, if belonging to account
■ Don't believe we need to take sharing into consideration

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Authorization
string




RESPONSES

status OK

{ "message": "Shipment succesfully updated" }



Curl
curl -X PUT 'https://axeecknwif.execute-api.us-east-1.amazonaws.com/prod//shipment/:tripNumber/complete' -H 'Authorization: token' -d '{"id":1,"status":"Completed","tractorId":null,"trailerPlates":null,"licensePlate":null,"driverName":null,"driverLicense":null,"driverPhone":null}'

ENDPOINTS