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://7qzar0u2yd.execute-api.us-east-1.amazonaws.com/test//shipment/:tripNumber/complete' -H 'Authorization: eyJhbGciOiJub25lIn0.eyJhZG1pbiI6dHJ1ZSwidXNlcklEIjoiNjM5NzViZDRkY2Q2OTMwMDJjMzgxMDMzIiwiaWF0IjoxNjg1MDIwNTE4LCJpc3MiOiJ1cm46Zmxhc2h0cmFrOmlzc3VlciIsImF1ZCI6InVybjp1c2VyOmF1ZGllbmNlIiwiZXhwIjoyMDAwNTk2NTE4fQ.' -d '{"id":1,"status":"Completed","tractorId":null,"trailerPlates":null,"licensePlate":null,"driverName":null,"driverLicense":null,"driverPhone":null}'

ENDPOINTS