Docly Child

Delete a shipment tracker

Delete a tracking.

URL

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

Header Parameter:

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

CURL POST request:

curl --location 'https://api.trackship.com/v1/shipment/delete' \
--header 'trackship-api-key: <your api key here>' \
--header 'app-name: <your app name here>' \
--header 'Content-Type: application/json' \
--data '{
    "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

CONTENTS