Bazaar.Webhook.Event (Bazaar v0.3.0)

Copy Markdown View Source

One order event to deliver: the order document encoded once, with the Webhook-Id and Webhook-Timestamp that identify it. Nothing here changes between delivery attempts, which is what lets the platform deduplicate retries.

Summary

Types

t()

@type t() :: %Bazaar.Webhook.Event{
  body: binary(),
  id: String.t(),
  order: map(),
  timestamp: integer(),
  url: String.t()
}