A webhook API is a mechanism that lets one system push an event to another the moment it happens, by sending an HTTP POST request to a URL the receiving side owns, rather than making that system ask for updates on a loop. For a restaurant, that means a delivery marketplace can tell your POS that an order exists while the customer is still choosing a drink, not on the next scheduled check.
Which exposes the gap most guides skip: if your POS already talks to an API, what does a webhook change, and why do orders still show up late, twice, or not at all?
The answer starts with who speaks first. An API waits to be asked. A webhook reaches out. That single inversion explains why webhooks are now standard across delivery platforms and why they fail in ways polling never does. The pattern is older than the name: early server-to-server notifications arrived with rssCloud in 2000, weblogs.com ping notifications in 2001, and TrackBack and Pingback in 2002; the word itself is commonly tied to a 2007 proposal for HTTP POST callbacks, and an HTTP 1.1 Web Hooks specification was submitted under the Cloud Native Computing Foundation in April 2018, as this history of webhooks records. It grew through practical convention rather than one agreed standard, which is precisely why two platforms can both claim webhook support and behave nothing alike.
What a Webhook API Is and How It Differs From Polling
A webhook API has five parts, and naming them makes every later failure easier to diagnose. The sender is the system where something changed, such as a delivery marketplace. The event is what changed, such as an order being created. The payload is the JSON body describing that change, and the endpoint is the URL on your side that receives it. The subscription is the record that ties them together, telling the sender which events go to which endpoint. When a kitchen says “orders are coming in late,” one of these five is where the fault lives.

The difference works like a mailbox versus a doorbell. Polling is walking out to the mailbox every few minutes to check for a letter, and most trips come back empty. A webhook is the doorbell: someone presses it the moment they’re at your door. That framing is also the honest way to describe the cost, because a webhook doesn’t remove work. It moves the work onto you. Your endpoint has to be awake, reachable and quick to answer, or the sender treats the delivery as failed, and “failed” in a kitchen means a ticket that never prints.
| Factor | Polling | Webhook |
|---|---|---|
| Who starts the request | Your system asks on a schedule | The source system sends a request when something changes |
| Freshness of data | Only as current as the last poll | Sent when the event happens |
| Wasted requests | Many calls return no change | Calls happen only when there is an event |
| Failure handling | Missed changes are caught on the next poll | Sender retries, so the receiver must handle duplicates |
| Best for | Data you read occasionally | Events you must act on right away, such as a new order |
Read the failure-handling row twice. Polling forgives: whatever you miss, the next scheduled check picks up. Webhooks push that responsibility onto the receiver. If your endpoint times out or answers slowly, the sender tries again, and a careless integration treats the retry as a new order. One customer, two tickets, one wasted meal.
How common are webhooks across the platforms you will connect to? A review of 100 leading API providers in Svix’s State of Webhooks report found that 83% offered webhook functionality in 2023. The sample measured public API documentation across many providers rather than one industry or one country, so the practical read for a restaurant is straightforward: expect most delivery platforms you integrate with to speak webhooks.
What no report promises is consistency. Providers differ on event names, payload shapes, signature methods, retry schedules, timeout rules, duplicate handling, and whether they offer delivery logs or a replay button at all. In a setup where several delivery services feed one POS, those differences land on whoever maintains the connector. Two platforms can both advertise webhook support and behave nothing alike in practice, which is why the contract matters more than the label.
The rule that settles most arguments: call an API when you need current data on demand, and listen for a webhook when you need to react to a change.
If you’re weighing a build, when to use webhooks instead of APIs lays out the tradeoffs without assuming you write code for a living. And if the receiving side is the part you’re unsure about, this walkthrough on how to connect to an API covers the registration and credential work that comes before any event arrives.
How a Webhook Call Travels From Event to Your System

One order, seven moves. Follow a single ticket from the second a customer taps pay to the second a printer fires at the counter, because each move has a spot where it usually goes wrong.
- Subscribe. Your system registers an endpoint URL and the event types it wants, such as order created. The common slip is a stale URL: it worked in staging and the production hostname changed, so events fire into a dead address while the kitchen assumes a quiet night.
- The event happens. A customer places an order on a marketplace. Nothing on your side initiated it, so a connector that expects to hear about every order has to be right about the subscription before the dinner rush tests it.
- The sender calls you. It issues an HTTP POST with a JSON body describing the event, usually carrying a unique event or delivery ID. Keep that ID, because everything afterward hangs off it. When an order shows up twice or a status change never lands, that ID is how you tell a retry apart from a new event.
- You verify. Your endpoint checks the signature header against the raw body using the shared secret before trusting a single field. Skipping this is how forged payloads reach a POS. Read the body exactly as it arrived, since even reserializing the JSON before hashing can make a valid signature look wrong.
- You acknowledge. Return a 2xx before doing the slow work. Writing to the POS first and replying afterward is the most common reason the same order appears twice: the sender sees no acknowledgment, assumes the delivery failed, and sends it again. Acknowledge fast, then process.
- You fetch. Plenty of platforms send a notification that points at the full resource rather than containing it, so you call the API for items, modifiers and fulfillment details. The webhook tells you something changed, and the fetch tells you what it is.
- You normalize and route. Map marketplace items and modifiers onto your POS schema, then create the order in Clover or Square. This is the step where mismatched menu names surface, so treat any item that fails to match as a problem to fix in the mapping, not an order to drop.
Success looks quiet. The order lands in the POS once, carries the marketplace’s order reference, and every later status change updates that ticket instead of creating a neighbour beside it. When any of the seven moves breaks, the failure is loud in a different way: a duplicate ticket, a late one, or none at all.
If hosting that receiver isn’t something you want on your plate, the middle-layer approach is covered in this guide to integration platforms for restaurant systems.
The same sequence, in motion:
Routing a Delivery Order Into Your POS
A diner orders a pickup meal through Uber Eats from a counter that runs Clover. No one at the counter reads it off a tablet, because there isn’t one to read.
Uber Eats’ Marketplace APIs use webhooks for incoming orders, store notifications and cancellations. The orders.notification event fires whenever an order is created, and its payload carries a resource_href the receiving application uses to retrieve the complete order through the Get Order endpoint, as Uber Eats’ webhook documentation describes. That is the pattern to internalize: the notification is a pointer, not the order itself. Treating it as the whole order, and writing whatever fragment arrives straight into the POS, is how kitchens end up with tickets missing modifiers.

From there the sequence is mechanical. Fetch the full order, map its items and modifiers onto the POS schema, and create one ticket in Clover. Later fulfillment changes ride back onto the same order, so the kitchen sees an update rather than a second ticket printing beside the first.
Menu naming is where this breaks. A modifier that reads “No Onions” on the marketplace and “No onion” in the POS will not match, and the order can fail to inject cleanly. A human reading a tablet would shrug and type it in; a webhook integration has no judgment to fall back on, so the mismatch is absolute. Prices drift the same way. Sync should run both directions: OrderOut pushes prices, item availability and out-of-stock (86) changes from Clover to the Grubhub menu automatically, so the marketplace stops selling what the kitchen has run out of.
DoorDash and Grubhub follow the same logic, one marketplace menu mapped onto one normalized POS schema. The operating effect is what matters: staff stop reading orders off a second screen, stop re-keying them, and the POS stays the operational source of truth for tickets, stock and payment.
OrderOut handles that mapping for Uber Eats, DoorDash and Grubhub into Clover or Square, with the 3rd-party order engine as the reference and OrderOut’s Clover delivery integration covering the Clover side.
Install step: a Clover location installs the connector from the Clover App Market listing, and a Square location uses the Square app marketplace listing.
Test before you trust it with a Friday night. Send a sample order payload from the platform’s webhook settings, confirm your endpoint answers with a 2xx, then watch the first live order arrive as a single ticket carrying the marketplace reference. Then do the check that matters: replay that same event and confirm it does not produce a second ticket. A receiver that creates duplicates on replay will double-fire orders into the kitchen the first time a platform retries a delivery it thinks you missed. That replay tells you more about the integration than any dashboard will.
If a bespoke build is the alternative you’re weighing, commissioning software for your business is one route, with the tradeoff that you own every marketplace’s schema changes yourself. How those tickets move once they exist is covered in the guide to marketplace order management.
Events Restaurant Integrations Should Listen For
A kitchen ticket starts with one question: which event means a real order just arrived? Event names differ by platform, so match them by meaning rather than spelling. Three jobs cover nearly everything a kitchen needs: create the ticket, update its status, and refresh the record behind it.
| Platform | Event | What it signals | The job it does |
|---|---|---|---|
| Uber Eats | orders.notification | An order has been created | Creates the ticket |
| Square | order.created | An order exists | Creates the ticket |
| Square | order.fulfillment.updated | A fulfillment is created or changed | Updates status |
| Square | order.updated | An order changed through UpdateOrder, Order Manager or the Dashboard | Refreshes the record |
| Clover | O | An order was created, updated or deleted | Creates, updates or removes the ticket |
Read the table the way a rail of tickets works during service. The creation event is a new slip going up. The status events are hands moving slips along the rail. The refresh events are someone correcting a slip already hanging there.
Square’s Orders API offers order.created for a new order and order.fulfillment.updated for the creation or update of a fulfillment, both requiring the ORDERS_READ permission, as Square’s Orders API overview sets out. Square’s order.updated fires when an order changes through the UpdateOrder endpoint, Order Manager or the Square Dashboard, and also requires ORDERS_READ, per Square’s order.updated reference. That last one matters more than it looks. Edits made inside the POS generate events too, so an integration that treats the first notification as the only state change will serve stale modifiers and fulfillment details. If a server removes the onion allergy note after the ticket prints, a marketplace that never hears about it keeps showing the customer the old version of their order.
Clover webhooks notify an installed application when specified merchant events occur, including order creation, order updates and order deletion. The event-type key O represents orders and requires the Read orders permission, while separate keys cover inventory, inventory categories, modifier groups, modifiers and payments, according to Clover’s webhook documentation. That separation is useful. Order changes can be monitored without menu traffic drowning them out, and a 86’d item can reach the integration through the inventory keys instead of waiting for an order to hit it.
The Decision Rule for Subscriptions
One event is the trigger that creates a ticket. One or two are status updates. The rest are record refreshes, and they’re optional until you need them. Subscribe only to the events that drive the POS, because every extra subscription adds traffic and one more thing to check when something looks wrong.
Write down the trigger event for each channel before anyone builds anything. If you can’t name the single event that creates a ticket, the integration will discover it in production.
Handling Duplicate, Late and Missing Webhook Events
The assumption that breaks integrations is that each event arrives once, in order, and only when your endpoint was up. None of those are guaranteed. Webhook delivery is engineered as at-least-once, not exactly-once, because transient network failures, receiver timeouts, process crashes and ambiguous HTTP responses can make the sender retry an event even after your system already applied it, as OWASP’s Webhook Security Cheat Sheet explains.
The fix starts before any side effect: persist a stable event ID, enforce a database uniqueness constraint on it, and return a success response for a recognized duplicate. Get that right and a retried order-status event can’t become two kitchen tickets or two payment records. On the sending side, retries should cover only timeouts and 5xx responses, use capped exponential backoff with jitter, and route exhausted deliveries to a dead-letter queue for replay. On the receiving side, acknowledge after a durable write and process asynchronously, so a slow POS doesn’t create the timeout that triggers the duplicate. OWASP’s cheat sheet also recommends idempotent, order-independent processing, per-subscriber limits, maximum retry counts, and disabling persistently failing endpoints.
| Symptom | Likely cause | Fix |
|---|---|---|
| Same order prints twice | Retry sent after a slow response the sender never received | Deduplicate by stable event ID with a uniqueness constraint |
| Cancellation never reaches the POS | Endpoint was down past the retry limit | Replay from the dead-letter queue and reconcile with the source order |
| Modifier change overwrites a newer status | Events processed out of order for the same order | Process per order and compare with the authoritative order state |
| Receiver times out during a busy lunch | Heavy POS write done before acknowledging | Acknowledge after durable ingestion and process asynchronously |
| Deliveries stop entirely | Endpoint failing persistently and not recovered | Check delivery logs, fix the endpoint and re-enable the subscription |
The Recovery Runbook
When an order is missing or wrong, work outward from the platform, not inward from the POS. Check the delivery logs for that order to see whether the event was sent and what your endpoint answered, then replay from the dead-letter queue if it exists. Reconcile against the marketplace’s authoritative order state before the kitchen acts on it, because a late cancellation that lands after a modifier change will otherwise look like a fresh order.
How those checks protect ticket accuracy over time is covered in the guide to data integrity in restaurant integrations.
Securing Webhook Endpoints Beyond Signature Checks
A valid HMAC signature proves who sent the body. It doesn’t prove the request is fresh, and a captured request can be replayed later. That gap is wide enough to matter: Svix’s webhook security guidance notes that signed webhooks have become the majority while protection against replayed webhooks hasn’t advanced at the same pace.
The defenses are cheap. Sign the raw body, include a timestamp inside the signed content, reject requests outside a short validity window, and deduplicate by event or idempotency identifier. In a kitchen the stakes are concrete: a replayed order-created event without an event-ID check prints a second ticket and starts a second meal.
Signature verification and deduplication are therefore one control, not two. Treating them as separate settings is how a secure-looking endpoint still doubles an order.
Multi-tenant operation adds the parts that eat support time. Rotate secrets without downtime by accepting the old and the new secret through a short overlap, keep an inventory of endpoints and their subscriptions, isolate tenants so one merchant’s events can’t reach another, and send only the payload fields the receiver needs. Availability counts as security too: a delivery spike or rate-limit exhaustion takes an endpoint down even when every signature checks out, so watch delivery logs and alerts rather than waiting for the first missing order.
A webhook secret is a production credential. Review it on the same schedule as your payment keys, and revoke the endpoints you’ve forgotten.
If you’re writing those controls into a spec for a partner, the POS system requirements document guide covers how to state them so they’re testable.
Confirm Your Webhook Setup Before You Integrate
The vendor call is five questions, asked in this order:
- Which channels and which POS? Confirm Uber Eats, DoorDash or Grubhub alongside Clover or Square, since the pairing decides everything else.
- Which permissions does the connector need? Read orders for Clover and ORDERS_READ for Square. A connector that asks for more than those is asking for a reason you should hear.
- Where do menu and modifier names disagree? Compare them channel by channel, because a mismatched modifier is what stops an order from injecting cleanly.
- Can the requester replay a delivery and show delivery logs? That’s the tool you’ll reach for at 7pm on a Friday when one order is late.
- Will you send a test order before go-live? Confirm it appears once with the marketplace reference, then confirm a later status change updates the same ticket rather than adding another.
A connected setup feels unremarkable. Staff stop reading a separate tablet and stop re-keying, and the POS stays the operational source of truth for the kitchen, the stock count and the payment.
OrderOut’s integration API routes orders from Uber Eats, DoorDash, Grubhub, ChowNow, or Wix into a POS, which is the capability to demand from anyone you evaluate. Eligibility is checked by connecting the OrderOut dashboard, and that takes a couple of clicks. If you’d rather read the technical shape first, it’s documented on OrderOut’s integration API page.
Frequently Asked Questions
Does OrderOut work with Clover?
Yes. OrderOut installs from the Clover App Market and writes marketplace orders directly into Clover, mapping each marketplace menu to a normalized POS schema so the ticket arrives cleanly. That’s the practical reason menu and modifier hygiene matters before you switch it on. It also syncs prices, item availability and out-of-stock changes from Clover back to the Grubhub menu automatically, so the channel stops selling what the kitchen ran out of an hour ago.
Do webhooks replace APIs?
No, they complement them. A webhook tells you something changed; the API is where you go to get the current, complete record. A kitchen analogy: the webhook is the expediter calling out that a new ticket just printed, the API is the rail where you go read the full ticket. Working integrations call the API after the webhook fires to fetch full order details, and reconcile against the API when an event goes missing, because the record there reflects what the marketplace believes happened, not what your endpoint managed to catch.
What should I check first when an order doesn’t arrive?
Look at the platform’s delivery logs for that specific order before touching the POS. They show whether the event was sent and what your endpoint replied. The distinction matters, because the fix depends on which side failed. If the event never left the platform, the problem is upstream of you. If it left and your endpoint returned an error or nothing at all, the delivery exhausted its retries, and you replay it from the dead-letter queue, then reconcile against the marketplace’s authoritative order state.
Can I test a webhook before going live?
Yes, and you should, twice. Send a sample order payload and confirm the endpoint returns a 2xx, then watch a live test order land as one ticket with the marketplace reference. Replay the same event afterward to confirm it doesn’t create a second ticket. That last step is the one kitchens skip, and it’s the one that matters at 7pm on a Friday, when a retried delivery deciding to print twice means a second entrée fired and comped.
Are webhooks secure enough to trust with real orders?
They’re as secure as the controls around them. A signature stops forged payloads, a timestamp stops replayed ones, and an event-ID uniqueness check stops a legitimate replay from becoming a second ticket. You need all three, because each one closes a different hole: the signature answers “did this really come from the platform,” the timestamp answers “is this fresh,” and the uniqueness check answers “have I already acted on this.” Drop any one of them and the chain has a gap.
OrderOut injects Uber Eats, DoorDash and Grubhub orders straight into Clover or Square, so the webhook work described here is already handled on your behalf and no one re-keys an order off a second screen. The POS stays your source of truth, with one ticket per order and later status changes landing on that same ticket. If you’re building an integration of your own rather than using a connector, request API access on the OrderOut website: access starts with a short intro call where OrderOut learns your use case, confirms the integration is a good fit, and walks you through the next steps before a key is issued.