Customer webhook events

customer.created

Any time a customer is created we can trigger a CustomerCreatedEvent

Payload example:

{
  "EventName": "customer.created",
  "WhiteLabelId": 1,
  "User": {
    "UserId": 1234,
    "UserName": "JohnDoe",
    "UserPhoneNumber": "0818204488",
    "UserEmail": "[email protected]"
  },
  "Description": "User with Id 123 has been created for white label 456",
  "FlipdishEventId": "00000000-0000-0000-0000-000000000000",
  "CreateTime": "0001-01-01T00:00:00",
  "Position": 0
}

customer.consent.updated

Any time a customer opt in or out we can trigger a CustomerConsentUpdatedEvent

Payload example:

{
  "EventName": "customer.consent.updated",
  "Enabled": false,
  "User": {
    "UserId": 1234,
    "UserName": "JohnDoe",
    "UserPhoneNumber": "0818204488",
    "UserEmail": "[email protected]"
  },
  "FlipdishEventId": "00000000-0000-0000-0000-000000000000",
  "CreateTime": "0001-01-01T00:00:00",
  "Position": 0
}

customer.updated

Any time a customer is updated we can trigger a CustomerUpdatedEvent

Payload example:

{
  "EventName": "customer.updated",
  "User": {
    "UserId": 1234,
    "UserName": "JohnDoe",
    "UserPhoneNumber": "0818204488",
    "UserEmail": "[email protected]"
  },
  "Description": "User with Id 123 has been created for white label 456",
  "FlipdishEventId": "00000000-0000-0000-0000-000000000000",
  "CreateTime": "0001-01-01T00:00:00",
  "Position": 0
}