Delivery Status Update

Overview

Delivery Job update API is used to receive updates for delivery jobs. Logistic partners use this API to send order delivery job update details to Grubtech. The endpoint Delivery Job Status is configured in Grubtech end and the logistic partner should call this API to send delivery job status updates.

Delivery Job Update Flow

After Grubtech initiates the order delivery job, the relevant logistic partner will grab the order details and start the order delivery processing. During the delivery processing, the logistic partner will send major status changes of the delivery job back to Grubtech through the specified endpoints.

Order Delivery Statuses

Since Grubtech is not monitoring delivery job status details within the system, it allows the logistic partner to send those status update details back to Grubtech. Each status update is identified by the Reference id provided by the logistic partner. These are the six delivery statuses,

  1. DELIVERY_JOB_CREATED
  2. DRIVER_ASSIGNED
  3. DRIVER_ARRIVED
  4. DELIVERY_JOB_STARTED
  5. DELIVERY_JOB_COMPLETED
  6. DELIVERY_JOB_CANCELLED

The Logistic partner will send a PUT request to Grubtech with the integration id provided by Grubtech. That request contains tracking details, driver details, and pick-up time with the current delivery job status. Related endpoint details are described in delivery status update API page.