Ticket Status Webhooks

Triggering Events

Here are the various triggering events for the ticket status Webhook:

  • Changes in an order_status through the fulfillment process. This includes forward and backwards progression through fulfillment and when tickets are COMPLETED, CANCELED, or in DRAFT.

Sample Event Content

{
  "method": "POST",
  "path": "/",
  "query": {},
  "client_ip": "44.225.61.188",
  "url": "https://f2d23d511963968506e313471a70f0f9.m.pipedream.net/",
  "headers": {
    "host": "f2d23d511963968506e313471a70f0f9.m.pipedream.net",
    "content-length": "247",
    "authorization": "Bearer CHQUBXBIFOJG26KFRLL0J3HC",
    "content-type": "application/json",
    "traceparent": "00-9548c4a9b2ed8163f3ac7dd4c380a8b4-5d867a0812f9514f-01",
    "elastic-apm-traceparent": "00-9548c4a9b2ed8163f3ac7dd4c380a8b4-5d867a0812f9514f-01",
    "tracestate": "es=s:1",
    "user-agent": "Apache-HttpClient/4.5.14 (Java/17.0.18)",
    "accept-encoding": "gzip,deflate"
  },
  "bodyRaw": "{\"event_type\":\"TICKET_STATUS\",\"dispensary_short_name\":\"partnersandbox3\",\"data\":{\"ticket_id\":\"7c41ad17-9752-4d95-9254-d5b1119b93dc\",\"order_number\":\"WUU6SV\",\"external_order_number\":null,\"order_status\":\"AWAITING_PROCESSING\",\"revenue_source\":\"Treez\"}}",
  "body": {
    "event_type": "TICKET_STATUS",
    "dispensary_short_name": "partnersandbox3",
    "data": {
      "ticket_id": "7c41ad17-9752-4d95-9254-d5b1119b93dc",
      "order_number": "WUU6SV",
      "external_order_number": null,
      "order_status": "AWAITING_PROCESSING",
      "revenue_source": "Treez"
    }
  }
}

What’s Next

Check the Parameters Explained page for the Ticket API for the definition of each available field.