Courier Update Event

Introduction

Where delivery platforms provide courier statuses or a 3rd party 'Dispatch' service is enabled, the details of the delivery progress will be sent whenever they change

Delivery job statuses

Status nameMeaningInteger value
EN_ROUTE_TO_PICKUPCourier approaching the pickup location83
ARRIVED_AT_PICKUPCourier has arrived at the pickup location85
EN_ROUTE_TO_DROPOFFCourier approaching the drop-off location87
ARRIVED_AT_DROPOFFCourier has arrived at the drop-off location89
DELIVEREDCourier has delivered the order90

Parameters

ParameterMeaningType
receivedTimestamp of when the update was generatedstr
orderIdUnique Deliverect order IDstr
rawDriverUpdateAn empty array not currently in usearray of str
updatedOriginint
courierarray of str
courier.firstNamestr
courier.lastNamestr
courier.phoneNumberstr
courier.deliveryByThe delivery party responsiblestr
courier.statusSee Delivery job statusesint
pickupTimeThe correct pickupTime for the order when the status was generatedstr
deliveryTimeThe anticipated order delivery timestr
locationThe unique ID of the Deliverect locationstr

Sample Data

Data differs between orders delivered by DSP (Delivery Service Providers) and those delivered via integrated 3rd party dispatch platforms;

{
  "received": "YYYY-MM-DDTHH:mm:ss.SSSSSSZ",
  "orderId": "62********************e4",
  "pickupTime": "YYYY-MM-DDTHH:mm:ss.SSSSSSZ",
  "deliveryTime": "YYYY-MM-DDTHH:mm:ss.SSSSSSZ",
  "location": "61********************r2",
  "courier": {
    "firstName": "",
    "lastName": "",
    "phoneNumber": "",
    "deliveryBy": "Uber Eats",
    "status": 83,
    "lastKnownLocation": {
      "coordinates": [
        -84.1187,
        34.4212
      ]
    },
    "vehicle": {
      "type": "CAR",
      "make": "Volkswagen",
      "model": "Passat",
      "color": "Silver",
      "licensePlate": "H808AGE",
      "isAutonomous": false
    }
  },
  "handoffInstructions": "",
  "passcode": "",
  "updatedOrigin": 2,
  "rawDriverUpdate": "{}"
}
{
    "received": "YYYY-MM-DDTHH:mm:ss.SSSSSSZ",
    "orderId": "62********************e4",
    "pickupTime": "YYYY-MM-DDTHH:mm:ss.SSSSSSZ",
    "courier": {
        "firstName": "",
        "lastName": "",
        "phoneNumber": "",
        "status": 83
    },
    "updatedOrigin": 6,
    "rawDriverUpdate": "{}",
    "deliveryTime": "YYYY-MM-DDTHH:mm:ss.SSSSSSZ",
    "location": "65********************a4",
    "deliverySystem": 10,
    "deliveryJobId": "62********************e4"
}

Did this page help you?