The Delivery Status
Successfully Delivered
- Step 1: Driver will click on Success button when Driver completed delivery to Receiver
- Step 2: User check order status on partner portal
- Step 3: User check the callback returned via webhook
{
"_id": "22U0IF06",
"accept_time": 1664272619.01943,
"city_id": "SGN",
"complete_time": 1664272709.7741053,
"create_time": 1664272600.3926158,
"path": [ {...},
{
"address": "104 Trần Nhân Tôn, Phường 2, Quận 10, Hồ Chí Minh",
"status": "COMPLETED",
"complete_time": 1664272709.1441114,
"fail_time": 0,
"return_time": 0,
"fail_comment": "",
"name": "Nhan"
}
],
"payment_method": "BALANCE",
"pickup_time": 1664272630.4128397,
"service_id": "SGN-BIKE",
"status": "COMPLETED",
...
}
Failed Delivery
- Step 1: Driver will click on Fail button and submit the reason why Driver can not delivery to Receiver
- Step 2: Driver will return package to Seller/Sender
- Step 3: User check order status on partner portal
- Step 4: User check the callback via webhook
{
"_id": "225JET0A",
"accept_time": 1664273129.6991503,
"city_id": "SGN",
"complete_time": 1664273183.3425238,
"create_time": 1664273089.7596045,
"path": [
{
"address": "7/28 Thành Thái, Phường 14, Quận 10, Hồ Chí Minh",
"return_time": 1664273226.7265587,
...
},
{
"address": "104 Trần Nhân Tôn, Phường 2, Quận 10, Hồ Chí Minh",
"status": "FAILED",
"complete_time": 0,
"fail_time": 1664273182.567059,
"return_time": 0,
"fail_comment": "Recipient does not pickup phone call",
...
}
],
"payment_method": "BALANCE",
"pickup_time": 1664273135.271825,
"service_id": "SGN-BIKE",
"status": "COMPLETED",
"sub_status": "RETURNED",
...
}