Order API Grubtech Endpoints
Driver Assigned
The Driver Assigned endpoint should be triggered to update the order status when a driver has been assigned for delivery. It should include the assigned driver's details and the estimated time of arrival (ETA) for the delivery. This is only applicable when the order platform is managing the delivery process, not when third-party logistics providers are involved.
post/{applicationId}/orders/{orderId}/driver-assigned
Path parameters
applicationIdstring required
applicationId id provided by GrubTech to identify the integration.
orderIdstring required
order id
Request body
Example request
{
"driverName": "John",
"driverETA": "2020-08-02T09:23:54.723Z",
"driverAssignedAt": "2021-06-02T09:10:18.020Z"
}Response
Successful response