Nhất Tín LogisticsDevelopers
API ReferenceShipments

Cancel shipment

Cancel shipments that are in a cancellable status.

POST/v3/bill/destroy

Cancel shipments in Not successful or Waiting for pickup status.

Auth: Bearer access token

Request body

FieldTypeRequiredDescription
bill_codestring[]YesList of shipment codes to cancel.
curl --request POST \
--url https://apisandbox.ntlogistics.vn/v3/bill/destroy \
--header "Authorization: Bearer <access_token>" \
--header "Content-Type: application/json" \
--data '{"bill_code":["CP12777690"]}'

Response

{
  "success": true,
  "message": "",
  "data": [
    {
      "doCode": "E9999999",
      "message": "Bill E9999999 has canceled successful"
    }
  ]
}

On this page