Deleting a package

Request

DELETE /packages?trackNumber={trackNumber}

Required GET request parameters:

Parameter Type Description
trackNumber String Package tracking number

Example of a successful response

        
{
    "code": 200,
    "payload": true
}
        
    

Error codes possible with HTTP status code other than 400:

Code Description
404 Package with the specified tracking number not found