grubhub · Schema

Grubhub Order Cancellation Payload

Webhook payload for an order cancellation event.

Properties

Name Type Description
event_type string The type of event that triggered this webhook.
order_uuid string The unique identifier for the cancelled order.
merchant_id string The Grubhub merchant identifier.
cancelled_by string Who initiated the cancellation.
reason string The reason for cancellation.
cancelled_at string When the order was cancelled.
View JSON Schema on GitHub

JSON Schema

grubhub-ordercancellationpayload-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://developer.grubhub.com/schemas/grubhub/ordercancellationpayload.json",
  "title": "Grubhub Order Cancellation Payload",
  "description": "Webhook payload for an order cancellation event.",
  "type": "object",
  "properties": {
    "event_type": {
      "type": "string",
      "description": "The type of event that triggered this webhook.",
      "const": "ORDER_CANCELLED",
      "example": "STANDARD"
    },
    "order_uuid": {
      "type": "string",
      "format": "uuid",
      "description": "The unique identifier for the cancelled order.",
      "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    },
    "merchant_id": {
      "type": "string",
      "description": "The Grubhub merchant identifier.",
      "example": "ghm-1234567890"
    },
    "cancelled_by": {
      "type": "string",
      "description": "Who initiated the cancellation.",
      "enum": [
        "DINER",
        "MERCHANT",
        "SYSTEM"
      ],
      "example": "DINER"
    },
    "reason": {
      "type": "string",
      "description": "The reason for cancellation.",
      "example": "Out of an item."
    },
    "cancelled_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the order was cancelled.",
      "example": "2026-06-02T18:30:00Z"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/grubhub-ordercancellationpayload"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.