Webhook event for product.created.
Sent when a new product is created.
Discord & Slack support: Basic
The data field contains a PolarExpress.Schemas.Product struct.
Summary
Functions
Returns the event type string.
Types
@type t() :: %PolarExpress.Events.ProductCreated{ data: PolarExpress.Schemas.Product.t(), timestamp: String.t(), type: String.t() }
type- Always"product.created".data- The event payload. SeePolarExpress.Schemas.Product.timestamp- ISO 8601 timestamp of when the event occurred.
Functions
@spec event_type() :: String.t()
Returns the event type string.