Order Updates
These events are sent when a customer order is placed and each time its fulfilment status changes. Customer orders are the ones you ship or hand over to a client: orders from your online store, WhatsApp and Telegram, orders your team creates with Create Order For Client, and orders created with the REST API. They need the Sales add-on. Set them up in Webhooks.
| Event | event.type | Order customerStatus |
|---|---|---|
| Order Created | order_created | The order's first status |
| Order Pending | order_pending | PENDING |
| Order Paid | order_paid | PAID |
| Order Processing | order_processing | PROCESSING |
| Order Shipping | order_shipping | SHIPPING |
| Order Partially Delivered | order_partially_delivered | PARTIALLY DELIVERED |
| Order Delivered | order_delivered | DELIVERED |
| Order Partially Completed | order_partially_completed | PARTIALLY COMPLETED |
| Order Completed | order_completed | COMPLETED |
| Order Cancelled | order_cancelled | CANCELLED |
| Order Refunded | order_refunded | REFUNDED |
When an order is placed, Order Created is sent together with the event for its first status. An order that is paid when it is placed (for example with a coupon that covers the whole total) sends Order Created and Order Paid, never Order Pending. After that, one event is sent each time the order moves to a new status, the same moments that run your Order Updates automations.
All order events use the same payload; event.type tells you which one it is. The order object has the same shape as Get an order in the REST API.
Order Updates
(i) Payload Format: This is the payload Whautomate sends to your endpoint for every order event.
{
"event": {
"id": "{{event.id}}",
"type": "{{event.type}}",
"timeStamp": "{{event.timeStamp}}",
"key": "{{event.key}}"
},
"order": {
"id": "{{order.id}}",
"orderNumber": "{{order.orderNumber}}",
"type": "{{order.type}}",
"status": "{{order.status}}",
"customerStatus": "{{order.customerStatus}}",
"isCustomerOrder": "{{order.isCustomerOrder}}",
"source": "{{order.source}}",
"date": "{{order.date}}",
"client": {
"id": "{{order.client.id}}",
"clientId": "{{order.client.clientId}}",
"name": "{{order.client.name}}",
"phone": "{{order.client.phone}}",
"email": "{{order.client.email}}"
},
"location": {
"id": "{{order.location.id}}",
"title": "{{order.location.title}}"
},
"amount": "{{order.amount}}",
"discountAmount": "{{order.discountAmount}}",
"shippingAmount": "{{order.shippingAmount}}",
"currency": "{{order.currency}}",
"notes": "{{order.notes}}",
"internalNotes": "{{order.internalNotes}}",
"tracking": {
"url": "{{order.tracking.url}}",
"number": "{{order.tracking.number}}",
"carrier": "{{order.tracking.carrier}}"
},
"lines": "{{order.lines}}",
"address": "{{order.address}}",
"invoice": "{{order.invoice}}",
"payments": "{{order.payments}}",
"createdAt": "{{order.createdAt}}",
"updatedAt": "{{order.updatedAt}}"
}
}
| Field | What it holds |
|---|---|
event.id | Unique id of the event; the same on every retry, so you can skip an event you already handled |
event.timeStamp | When the event happened (UTC) |
event.key | The order id |
order.orderNumber | The order number shown in Orders |
order.status | Payment status of the order |
order.customerStatus | Fulfilment status: PENDING, PAID, PROCESSING, SHIPPING, PARTIALLY DELIVERED, DELIVERED, PARTIALLY COMPLETED, COMPLETED, CANCELLED or REFUNDED |
order.source | Where the order came from: ONLINE_STORE, WHATSAPP, TELEGRAM, ADMIN (your team), API, MCP (an AI assistant), VOICE or IMPORT |
order.amount, order.discountAmount, order.shippingAmount | Order total, discount and shipping fee, in order.currency |
order.notes, order.internalNotes | The customer's order notes, and notes for your team only |
order.tracking | Tracking link, number and carrier; null until you add them with Update Shipping Info |
order.lines | Items: type (PRODUCT or SERVICE), product or service id, name, quantity, price per item, discount, tax and line total. A product with variants also has variantId and variantName, for example M / Red |
order.address | Shipping address, or null when the order has none |
order.invoice | The order's invoice: id, number, status and PDF link |
order.payments | Amount paid so far and each payment with its amount, method, gateway, status and date |
Events are not guaranteed to arrive in the order they happened. Use event.timeStamp to ignore an older event that arrives late, or treat the order in the body (or a fresh call to Get an order) as the current state.
(ii) Example: an online store order paid by card.
{
"event": {
"id": "Hq3vN8sLkP",
"type": "order_paid",
"timeStamp": "2026-11-26T10:00:00.000Z",
"key": "Rk2mW9xTcA"
},
"order": {
"id": "Rk2mW9xTcA",
"orderNumber": 1042,
"type": "PRODUCT",
"status": "PAID",
"customerStatus": "PAID",
"isCustomerOrder": true,
"source": "ONLINE_STORE",
"date": "2026-11-26T09:58:12.000Z",
"client": {
"id": "XpSCitpwse",
"clientId": "1001",
"name": "John Doe",
"phone": "+6598765432",
"email": "test@example.com"
},
"location": {
"id": "YFoWQBDuAu",
"title": "Main Street"
},
"amount": 64.8,
"discountAmount": 0,
"shippingAmount": 5,
"currency": "SGD",
"notes": "Please leave at the front desk",
"internalNotes": "",
"tracking": {
"url": null,
"number": null,
"carrier": null
},
"lines": [
{
"itemType": "PRODUCT",
"productId": "P8sKd2LmQx",
"name": "Massage oil",
"quantity": 2,
"pricePerItem": 25,
"discount": 0,
"totalTax": 4.8,
"totalPrice": 54.8
}
],
"address": {
"name": "Home",
"contactName": "John Doe",
"contactPhone": "+6598765432",
"addressLine1": "1 Example Road",
"addressLine2": "#02-01",
"city": "Singapore",
"state": "",
"postalCode": "123456",
"country": "Singapore"
},
"invoice": {
"id": "AZEa1bTPqE",
"invoiceNumber": "INV-1042",
"status": "PAID",
"pdfUrl": null
},
"payments": {
"paidAmount": 64.8,
"items": [
{
"id": "Pm7tYc4VbN",
"amount": 64.8,
"paymentMode": "CARD",
"gateway": "STRIPE",
"status": "PAID",
"paidAt": "2026-11-26T09:59:40.000Z",
"notes": ""
}
]
},
"createdAt": "2026-11-26T09:58:12.000Z",
"updatedAt": "2026-11-26T09:59:41.000Z"
}
}