v1

latestOpenAPI 3.0.3Apache 2.02026-07-2478177179.1 KB
Grubtech Endpoints

Update Delivery

The Update Delivery endpoint on the Grubtech platform is an API designed for integration with third-party logistics (3PL) providers. This API allows the 3PL provider to send real-time status updates for delivery jobs associated with customer orders. By using this API, the 3PL platform ensures that the Grubtech system is updated with the latest information about the progress of the delivery process. These updates allow the Grubtech platform to track the delivery progress and inform relevant stakeholders (e.g., restaurant, customer) about the status of the order’s delivery.

put/{applicationId}/delivery-jobs

Path parameters

applicationIdstring required

applicationId id provided by GrubTech to identify the integration

Request body

referenceIdstring required

Delivery job id provided by the external party to GrubTech

trackingIdstring
trackingUrlstring
driverIdstring
driverNamestring
driverMobileNumberstring
pickUpTimestring date-time

The time items were picked up or will be picked up, represented in ISO 8601 format.

status'DELIVERY_JOB_CREATED' | 'DRIVER_ASSIGNED' | 'DRIVER_ARRIVED' | 'DELIVERY_JOB_STARTED' | 'DELIVERY_JOB_COMPLETED' | 'DELIVERY_JOB_CANCELLED' required

Example request

{
  "trackingUrl": "https://track.3pl.io/242414bb48ab5f40e03efe86b0393835",
  "driverName": "John",
  "pickUpTime": "2021-01-01T09:23:54.723Z"
}

Response

Successful response OK