Order Webhooks

Events

order.createdAn order has been created
order.acceptedAn order has been accepted
order.rejectedAn order has been rejected
order.completedAn order has been completed

Fields

NameTypeDescription
orderOrderThe order this event is related to
locationLocationTinyThe location the order belongs to
organizationOrganizationTinyThe organization the order belongs to

Example

{
  "event": "order.created",
  "order": {
    "...": "..."
  },
  "location": {
    "id": "LOC123",
    "name": "Richmond"
  },
  "organization": {
    "id": "01H0S97D8RX4RBFHHTB1HE7SFR",
    "name": "My Awesome Business"
  }
}

In this article