Find articles, help and tips about our API

International/National Cancel Labels

Production API URL

				
					https://api-clientes.vercel.app/v2/shipments/cancel				
			

Sandbox API URL

				
					https://sandbox.api-drenvio.com/v2/shipments/cancel				
			

Request

Field Description Type Required
trackingNumber
The tracking number of the shipment you want to cancel
string
true

Request

				
					{
    "trackingNumber": "UAT301007266401"
}				
			

Response

				
					{
    "canceled": true,
    "messsage": "JTExpress Cancel Done",
    "shipmentCanceled": {
        "carrier": "jtexpress",
        "id": "64b07cc66da4318b09215a37",
        "service": "ground",
        "trackingNumber": "UAT301007281516"
    }
}				
			

Note

When the cancellation is processed, the shipment balance will be refunded to your account. In the sandbox environment, the balance is not deducted from your account.

On this page