# What is a webhook? An order notification example

A webhook automatically sends a message to another system when something happens, such as a customer paying for an order. If your warehouse receives the same payment notification twice for order 418, it should still issue just one delivery note.

**Webhook**: A webhook is a notification that one system sends to a web address supplied by another system when an agreed event occurs.

## The delivery note test for order 418

Suppose your shop sells a lamp. The warehouse should issue one delivery note when payment comes in. Start with a test order that has no delivery note yet.

| What to do | What you should see in the warehouse |
|---|---|
| Mark test order 418 as paid. | One delivery note for the lamp, showing order number 418. |
| Resend exactly the same payment notification. | Still just one delivery note, with the same note number. |
| Record a return for order 418. | The return appears as a separate action on the order, even though the system has already processed the payment notification. |

## One order can trigger more than one notification

The shop sends the notification. The warehouse's [order management system](https://hyperhtml.nl/en/custom-inventory-system/) receives it at an agreed web address and decides what happens next. If the shop receives no acknowledgement, it may send the notification again, even if the warehouse has already issued the delivery note.

When you [connect the two systems](https://hyperhtml.nl/en/api-integration-services/), agree how the receiving system will recognise a notification it has already processed. A unique event ID helps it spot the same message twice. Some payment providers can send two different event IDs for the same payment. The system should also check whether a delivery note already exists for that payment. A return is a separate action and should still go through.

## Using a webhook to connect two systems

### Where do I get my webhook URL?

The receiving system or its developer gives you the web address for notifications. Enter that address in the sending system and choose the event you want the warehouse to act on.

### How does a webhook differ from an API request?

With a webhook, the shop sends a notification when something changes. If the warehouse then needs more detail, such as the items in the order, it can request them through an [API](https://hyperhtml.nl/en/glossary/api/), an interface that lets programs exchange data.

### How do I trace a missing delivery note?

If the sending system keeps a log of outgoing messages, look up the order number there. Then check whether the receiving system accepted the message and issued the delivery note. An acknowledgement confirms only that the message arrived.

## Sources

- [Webhooks (in Dutch)](https://developer.overheid.nl/kennisbank/api-ontwikkeling/architectuur/webhooks), Dutch government developer portal, accessed 19 November 2026
- [Receive Stripe events in your webhook endpoint](https://docs.stripe.com/webhooks), Stripe Docs, accessed 19 November 2026

---

URL: https://hyperhtml.nl/en/glossary/webhook/  
Updated: 19 November 2026  
HyperHTML, Enschede, eloy@hyperhtml.nl
