Event catalogue
Subscribe a webhook endpoint to the events your integration needs. The same events are available from the event feed.
Event envelope
Every event, whether delivered by webhook or read fromGET /v1/events, has the same envelope. The fields inside data depend on the event type.
Example: order.purchase.updated
GET /v1/purchases/{purchase_id}, so you always work from the latest state.
Orders
Payments
Example: money.refund.updated (a failed store's share refunded)
Catalog and stores
Get the full schema for each event
GET /v1/webhook-event-types returns this list with a JSON Schema for each event’s body. Use it to validate payloads or generate types.
Handling events
- Verify the signature on the raw body before you parse it. See Webhooks.
- Store the event, keyed by
id, before you return2xx. Then process it. - Ignore event types you don’t recognise. The event feed can also contain progress events, such as cart and quote updates, that are not in this list.
- Use
revisionto skip an older event for a resource you have already updated.
Related guides
Webhooks
Register an endpoint, verify signatures and recover missed events.
Test in Sandbox
Trigger the events above with scenario products.