Docly Child

Delete Shipments via API

Delete a shipment tracker for Cloud

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-raw '{
    "tracking_number": "D84555920",
    "tracking_provider": "dtdc",
    "order_id": "025"
}'

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"
}
CONTENTS