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
orderOrder The order this event is related to
locationLocationTiny The location the order belongs to
organizationOrganizationTiny The organization the order belongs to

Example

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

In this article