Skip to main content

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.

Eventevent.typeOrder customerStatus
Order Createdorder_createdThe order's first status
Order Pendingorder_pendingPENDING
Order Paidorder_paidPAID
Order Processingorder_processingPROCESSING
Order Shippingorder_shippingSHIPPING
Order Partially Deliveredorder_partially_deliveredPARTIALLY DELIVERED
Order Deliveredorder_deliveredDELIVERED
Order Partially Completedorder_partially_completedPARTIALLY COMPLETED
Order Completedorder_completedCOMPLETED
Order Cancelledorder_cancelledCANCELLED
Order Refundedorder_refundedREFUNDED

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}}"
}
}
FieldWhat it holds
event.idUnique id of the event; the same on every retry, so you can skip an event you already handled
event.timeStampWhen the event happened (UTC)
event.keyThe order id
order.orderNumberThe order number shown in Orders
order.statusPayment status of the order
order.customerStatusFulfilment status: PENDING, PAID, PROCESSING, SHIPPING, PARTIALLY DELIVERED, DELIVERED, PARTIALLY COMPLETED, COMPLETED, CANCELLED or REFUNDED
order.sourceWhere the order came from: ONLINE_STORE, WHATSAPP, TELEGRAM, ADMIN (your team), API, MCP (an AI assistant), VOICE or IMPORT
order.amount, order.discountAmount, order.shippingAmountOrder total, discount and shipping fee, in order.currency
order.notes, order.internalNotesThe customer's order notes, and notes for your team only
order.trackingTracking link, number and carrier; null until you add them with Update Shipping Info
order.linesItems: 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.addressShipping address, or null when the order has none
order.invoiceThe order's invoice: id, number, status and PDF link
order.paymentsAmount 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"
}
}