grubhub · Schema

Grubhub Delivery Cancelled Payload

Webhook payload when a delivery is cancelled.

Properties

Name Type Description
event_type string The type of delivery event.
order_uuid string The UUID of the associated order.
delivery_id string The unique identifier for the delivery.
reason string The reason for cancellation.
cancelled_at string When the delivery was cancelled.
View JSON Schema on GitHub

JSON Schema

grubhub-deliverycancelledpayload-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://developer.grubhub.com/schemas/grubhub/deliverycancelledpayload.json",
  "title": "Grubhub Delivery Cancelled Payload",
  "description": "Webhook payload when a delivery is cancelled.",
  "type": "object",
  "properties": {
    "event_type": {
      "type": "string",
      "description": "The type of delivery event.",
      "const": "DELIVERY_CANCELLED",
      "example": "STANDARD"
    },
    "order_uuid": {
      "type": "string",
      "format": "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"
    },
    "reason": {
      "type": "string",
      "description": "The reason for cancellation.",
      "example": "Out of an item."
    },
    "cancelled_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the delivery was cancelled.",
      "example": "2026-06-02T18:30:00Z"
    }
  }
}