Catalogue updated

Sent BY Ewity TO your registered inventory_webhook_url. This
is the inventory webhook URL — separate from the order events
webhook. Identify the event by the X-Event header.

Fires when one or more items at one or more online locations may have
changed — stock crossing in/out of "in stock", catalogue toggles
adding or removing items from a storefront, bulk CSV imports, etc.
The event is intentionally uniform across causes: you receive a
list of (online_location_id, product_id, variant_id) triples and
you re-fetch via POST /locations/{id}/catalogue/lookup
to learn the new state.

Multiple changes that pile up between deliveries are coalesced —
a CSV import of 1000 items arrives as one webhook with a long
items array, not 1000 webhooks. Build your receiver around that.

Recommended flow

  1. Receive the webhook.
  2. Group items[].variant_id by online_location_id.
  3. For each (online_location_id, variant_ids) group, call
    POST /locations/{online_location_id}/catalogue/lookup
    with {variant_ids}.
  4. Upsert each returned product (and its nested variants) into your
    local catalogue cache. Variants you asked for that don't appear in
    the response have been removed — delete them from your cache.

How to dedupe

Same payload may be delivered more than once. Dedupe by
(online_location_id, variant_id, occurred_at) if you persist a
request log; otherwise the lookup-and-upsert pattern above is
naturally idempotent.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Body of the CatalogueUpdated webhook. Lists the
(online_location_id, product_id, variant_id) triples that may have
changed since the last delivery. Refetch via
POST /locations/{online_location_id}/catalogue/lookup to learn the
new state.

items
array of objects

Each entry is a (online_location, product, variant) triple to
refetch. Bulk operations may produce hundreds of entries in a
single payload.

items
date-time

ISO-8601 timestamp Ewity flushed the batch.

Headers
string
enum
required

Always CatalogueUpdated for this event.

Allowed:
Response
2XX

Receiver acknowledged.

Language
Credentials
Bearer
token
LoadingLoading…
Response
Click Try It! to start a request and see the response here!