PolarExpress.Events.CustomerDeleted (polar_express v0.1.5)

Copy Markdown View Source

Webhook event for customer.deleted.

Sent when a customer is deleted.

Discord & Slack support: Basic

The data field contains a PolarExpress.Schemas.Customer struct.

Summary

Functions

Returns the event type string.

Types

t()

@type t() :: %PolarExpress.Events.CustomerDeleted{
  data: PolarExpress.Schemas.Customer.t(),
  timestamp: String.t(),
  type: String.t()
}
  • type - Always "customer.deleted".
  • data - The event payload. See PolarExpress.Schemas.Customer.
  • timestamp - ISO 8601 timestamp of when the event occurred.

Functions

event_type()

@spec event_type() :: String.t()

Returns the event type string.