Logo
DeltaTrak API Documentation

Delete

DELETE {{baseUrl}}/shipment/:tripNumber

Deletes a Shipment with Complete status. Deleting the Shipment shall also remove all
of its sensors’ data records.

■ Deletes the shipment (by marking in DB as deleted), 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 deleted" }



Curl
curl -X DELETE 'https://7qzar0u2yd.execute-api.us-east-1.amazonaws.com/test//shipment/:tripNumber' -H 'Authorization: eyJhbGciOiJub25lIn0.eyJhZG1pbiI6dHJ1ZSwidXNlcklEIjoiNjM5NzViZDRkY2Q2OTMwMDJjMzgxMDMzIiwiaWF0IjoxNjg1MDIwNTE4LCJpc3MiOiJ1cm46Zmxhc2h0cmFrOmlzc3VlciIsImF1ZCI6InVybjp1c2VyOmF1ZGllbmNlIiwiZXhwIjoyMDAwNTk2NTE4fQ.'

ENDPOINTS