Driver Location Webhook (Beta)

Shipday now offers real-time driver location updates via webhook subscription. This feature is currently in beta and available exclusively to our priority customers.

Feature Overview

Subscription Requirements

Endpoint URL (mandatory):

The URL where Shipday will send location updates

Validation Token (optional):

Attributes

currentTimeStamp Long Integer

Timestamp of the event.

event String

A fixed string LOCATION_UPDATE

orderId Integer

Unique identifier of the order in Shipday.

companyId Integer

Unique identifier of the company or restaurant or in general any business having account registered at Shipday.

latitude Double

Driver location latitude at that particular timestamp.

longitude Double

Driver location latitude at that particular timestamp.

Below is an example payload of location webhook.

Location Webhook payload example

  {
    "event":"LOCATION_UPDATE",
    "orderId": 12345,
    "companyId": 67890,
    "latitude": 37.7749,
    "longitude": -122.4194,
    "currentTimeStamp": 1631234567890
  }