Delete a shipment tracker

Delete a tracking.

URL

https://my.trackship.com/api/shipment/delete/

Header Parameter:

trackship-api-key: <your api key here>
app-name: <your app name here>

CURL POST request:

curl --location --request POST 'https://my.trackship.com/api/shipment/delete/' \
--header 'trackship-api-key: <your api key here>' \
--header 'app-name: <your app name here>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "tracking_number": "1Z4937W56728755212",
    "tracking_provider": "ups",
    "order_id": "10"
}'

Request Parameters:

ParameterTypeDescription
tracking_number (required)StringTracking number for the package
tracking_provider (required)StringUnique code of tracking provider for that tracking
order_id (required)StringRespective order ID

Response Body:

{
    "status": "success",
    "message": "Shipment deleted successfully"
}
{
    "status": "error",
    "message": "app name not found"
}

Response Parameters:

ParameterTypeDescription
statusStringsuccess/error
messageStringresponse message