Webhook Events

This page describes the different event types you can receive through webhooks. Before processing webhook events, make sure to verify the webhook signature to ensure the request is authentic.

πŸ“˜

To start receiving these events, you need to register a webhook subscription first.

Order "status_changed" event

{
  "id":"df49cd-af4c-80bd90d2c7d7",
  "event_type":"status_changed",
  "message": "{"product_id": "d76d3b7-856a-3f6126107e07", "order_id":"21164","status":"Pending"}",
  "timestamp":"2021-05-01T13:20:49.611558453Z"
}

Order "business_report" event

{
  "id":"a23fa-2164f7a73de6",
  "event_type":"business_report",
  "message": "{"order_id":"50164","status":"update"}",
  "timestamp":"2021-05-01T13:20:49.611558453Z"
}

Employee "employee_updated" event

"update": will be sent for employee added or updated
"delete": will be sent once an employee is deleted from the account

{
 "id": "76c672bba75",
 "event_type": "employee_updated",
 "message": "{"employee_uuid":"16fa8-4ba2-bf53-aa30ecd4","status":"update"}",
 "timestamp": "2021-08-16T15:20:48.623097715Z"
}

*************************

{
 "id": "76c672bba75",
 "event_type": "employee_updated",
 "message": "{"employee_uuid":"16fa8-4ba2-bf53-aa30ecd4","status":"delete"}",
 "timestamp": "2021-08-16T15:20:48.623097715Z"
}