API ReferenceShipments
Cancel shipment
Cancel shipments that are in a cancellable status.
POST
/v3/bill/destroyCancel shipments in Not successful or Waiting for pickup status.
Auth: Bearer access token
Request body
| Field | Type | Required | Description |
|---|---|---|---|
bill_code | string[] | Yes | List 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"
}
]
}