Void (Cancel)
Cancellation of packages that are in the process of waiting for pickup or awaiting delivery.
[POST] /api/mitra/v3/cancel_shipment
warning
- Requests for cancellation through this API can only be made for packages that have not yet been picked up by the courier.
- Non-COD packages will undergo a maximum 48-hour queuing process to be fully voided from the system, while COD packages will be canceled immediately.
Request
Param | DataType | Nullable | Description |
---|---|---|---|
awb | string(30) | false | AWB Number Already Obtained, Not Order ID |
reason | string(min:5,max:200) | false | Reasons for Cancelling a Package |
{
"awb": "DEVEL-000000004",
"reason": "Kesalahan data paket",
}
Example Response
{
"status": true,
"method": "cancel_shipment",
"text": "Paket akan dibatalkan dalam 2x24jam",
"data": {
"success": "pending",
"date": "2024-06-17 02:00:00"
}
}