Developer docs / Integrations

Webhooks

Store events delivered to your URL, signed and retried, and the events API.

Events

EventWhen
order.createdAn order is placed (also test orders on a sandbox store)
order.updatedAn order changes: paid, shipped, refunded, cancelled
product.createdA product is added
product.updatedA product changes
product.deletedA product is deleted
stock.lowA variant reaches the low-stock threshold
observability.alert.openedAn alert rule fired (see Observability hooks and API)
observability.alert.resolvedAn alert is resolved
observability.thresholdA number crossed an alert rule's limit
observability.daily_summaryYesterday's totals, once a day
observability.eventThe events the store counted; only when named, never with "*"

Deliveries

Each delivery is a POST of { id, type, created_at, data } with these headers:

HeaderValue
Webhook-IdThe event id, the same on retries
Webhook-TimestampWhen it was sent
Content-DigestA digest of the body
SignatureAn RFC 9421 signature from the store's UCP key

Verify the signature with the store's public keys at https://<store>/.well-known/ucp.

Retries

A non-2xx answer is retried with backoff, from 1 minute doubling to 6 hours, 12 tries in all (about a day and a half). Use Webhook-Id to ignore a delivery you already handled. Delivery goes through the platform relay, so the URL's origin must be on the store's relay allowlist (adding a webhook adds it).

The events API

Every event is also listed, newest first, by GET /api/owner/events (permission webhooks.read), so you can catch up on what you missed.