Customer Statistics Webhooks
Events
customer.updated-statistics | A customers statistics have been updated |
Fields
Name | Type | Description |
---|---|---|
statistics | CustomerStatistics | The current statistics of the customer |
customer | CustomerTiny | The customer that the statistics has been updated for |
organization | OrganizationTiny | The organization this customer belongs to |
Example
{
"event": "customer.updated-statistics",
"statistics": {
"...": "..."
},
"customer": {
"email": "john@example.com",
"firstName": "John",
"id": "01FCCGYZA9JPQ97HBSTKW0KT7P",
"lastName": "Smith",
"phoneNumber": "+61411222333"
},
"organization": {
"id": "01H0S97D8RX4RBFHHTB1HE7SFR",
"name": "My Awesome Business"
}
}