Update Courier Status Run in API Explorer
Ask AI
POST
/{channelName}/courierUpdate/{channelLinkId}
curl \
--request POST 'https://api.staging.deliverect.com/{channelName}/courierUpdate/{channelLinkId}' \
--header "Content-Type: application/json" \
--data '[{"channelOrderId":"63171d******d34b5efe","courierUpdate":{"status":85,"arrivalTime":"2022-10-25T16:24:40.482000Z","deliveryTime":"2022-10-25T16:24:40.482000Z","courier":{"firstName":"Joe","lastName":"Driver","phoneNumber":"+44 20 3936 1162","coordinates":{"coordinates":[-0.0785,51.52081]}}}}]'
Request example
[
{
"channelOrderId": "63171d******d34b5efe",
"courierUpdate": {
"status": 85,
"arrivalTime": "2022-10-25T16:24:40.482000Z",
"deliveryTime": "2022-10-25T16:24:40.482000Z",
"courier": {
"firstName": "Joe",
"lastName": "Driver",
"phoneNumber": "+44 20 3936 1162",
"coordinates": {
"coordinates": [
-0.0785,
51.52081
]
}
}
}
}
]