Order Webhooks
Events
order.created | An order has been created |
order.accepted | An order has been accepted |
order.rejected | An order has been rejected |
order.completed | An order has been completed |
Fields
| Name | Type | Description |
|---|---|---|
| order | Order | The order this event is related to |
| location | LocationTiny | The location the order belongs to |
| organization | OrganizationTiny | The organization the order belongs to |
Example
{
"event": "order.created",
"order": {
"...": "..."
},
"location": {
"id": "LOC123",
"name": "Richmond"
},
"organization": {
"id": "01H0S97D8RX4RBFHHTB1HE7SFR",
"name": "My Awesome Business"
}
}