grubhub · JSON Structure

Grubhub Driverassignedpayload Structure

Webhook payload when a driver is assigned to a delivery.

Type: object Properties: 7

Grubhub Driver Assigned Payload is a JSON Structure definition published by grubhub, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

event_type order_uuid delivery_id driver pickup_eta dropoff_eta timestamp

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/refs/heads/main/json-structure/grubhub-driverassignedpayload-structure.json",
  "name": "Grubhub Driver Assigned Payload",
  "description": "Webhook payload when a driver is assigned to a delivery.",
  "type": "object",
  "properties": {
    "event_type": {
      "type": "string",
      "description": "The type of delivery event.",
      "const": "DRIVER_ASSIGNED",
      "example": "STANDARD"
    },
    "order_uuid": {
      "type": "uuid",
      "description": "The UUID of the associated order.",
      "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    },
    "delivery_id": {
      "type": "string",
      "description": "The unique identifier for the delivery.",
      "example": "id-1234567890"
    },
    "driver": {
      "type": "object",
      "description": "Information about the assigned driver.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The driver's display name."
        },
        "phone": {
          "type": "string",
          "description": "The driver's contact phone number."
        },
        "delivery_method": {
          "type": "string",
          "description": "The delivery method being used.",
          "enum": [
            "CAR",
            "BIKE",
            "WALKING"
          ]
        }
      }
    },
    "pickup_eta": {
      "type": "datetime",
      "description": "Estimated time of arrival at the pickup location.",
      "example": "2026-06-02T18:30:00Z"
    },
    "dropoff_eta": {
      "type": "datetime",
      "description": "Estimated time of arrival at the delivery location.",
      "example": "2026-06-02T18:30:00Z"
    },
    "timestamp": {
      "type": "datetime",
      "description": "When this event occurred.",
      "example": "2026-06-02T18:30:00Z"
    }
  }
}