Contents

Webhooks

The calls Nucleo makes to your endpoints, and how carriers push tracking events into Nucleo.

Webhooks in Nucleo go both ways:

  • Outbound — Nucleo calls your endpoint when something happens: the CMS revalidate call, after a page or an entry is published; the warehouse webhooks of the Fulfillment API (order.ready, order.cancelled, return.expected); and the Catalog events (products created, changed or deleted, stock changed). All use the same signature scheme — t=<unix time>,v1=<hex HMAC-SHA256 of "<t>.<raw body>"> — but with different headers: the CMS sends Nucleo-Signature, Nucleo-Webhook-Id, Nucleo-Webhook-Event and Nucleo-Webhook-Attempt; the Fulfillment and Catalog APIs send X-Nucleo-Signature, X-Nucleo-Webhook-Id, X-Nucleo-Event and X-Nucleo-Attempt.
  • Inbound — a carrier or a tracking service calls Nucleo when a parcel moves. Nucleo matches the event to the shipment and updates the order: see Send tracking events to Nucleo.