grubhub · AsyncAPI Specification
Grubhub Order Events
Version 1.0.0
Event-driven interface for receiving real-time order notifications from Grubhub. When a diner places an order, Grubhub monitors that order and sends notifications based on the current status. The webhook channel passes a payload of information about the order to a specified URI. New orders are expected to be received through webhooks rather than by polling API endpoints. Partners configure webhook subscriptions to receive order lifecycle events in real time.
Channels
/webhook/orders
Receive order notification events
Channel for receiving order notification events. Grubhub posts webhook payloads to the partner's configured endpoint when order events occur.
Messages
NewOrder
New Order
A new order has been placed by a diner on Grubhub and is ready for the partner to process.
OrderStatusChange
Order Status Change
An order's status has changed in the Grubhub system, such as moving to confirmed, in progress, or ready states.
OrderCancellation
Order Cancellation
An order has been cancelled by either the diner or the Grubhub system.
OrderChangeRequest
Order Change Request
A change has been requested for an existing order, such as item modifications or special instruction updates.
Servers
https
partnerWebhook
{webhookUrl}
Partner-hosted webhook endpoint. Grubhub sends order event payloads to this URL. Partners cannot set up or modify webhook URLs on their own as manual verification is required.