Find New Driver
When you're can't have courier assigned on a while, you can use this endpoint to trigger the 3pl to re-assign for new courier to pickup
[POST] api/mitra/v4/instant/pickup/find-new-driver
Body Payloads
Payload | Values | Type | Required |
---|---|---|---|
order_id | order_id | String | YES |
Request Example
curl --location 'https://tdev.kiriminaja.com/api/mitra/v4/instant/pickup/find-new-driver' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer a9eec756dfc741e5d793fcdcddbccdddbeadb075eb0af9f5590789528df2e7d0' \
--data '{
"order_id" : "NBL2-1705636897084"
}'
Response Success
{
"status": true,
"text": "success",
"code": 0,
"method": null,
"result": {
"awb": "GK-11-3120092",
"order_id": "NBL2-1705636897084"
}
}
Response Failed
{
"status": false,
"text": "order id yang dipilih tidak valid.",
"code": 2,
"method": null,
"result": null
}