Skip to content

Webhooks

This webhook documentation is currently available only in the v1.preview channel and may change before general availability.

Ingrid webhooks provide server-to-server event notifications when orders or parcels are updated in Ingrid.

This documentation includes:

  • the webhook payload reference
  • guidance for receiving and acknowledging deliveries
  • current retry behavior
  • the public events catalog that can trigger a delivery
  • request verification guidance for signed webhook requests
  • replay-prevention guidance for freshness and deduplication

Delivery model

Each delivery uses a shared event envelope with:

  • id as the unique event identifier
  • createdAt as the event timestamp
  • triggerName as the configured trigger scenario that matched
  • triggeringEvent as the public catalog event that caused the webhook
  • data as the order or parcel payload

triggeringEvent identifies the underlying event. triggerName identifies the configured trigger scenario that caused the receiver to be notified.

For example:

  • triggeringEvent: order.confirmed.v1
  • triggerName: us-order-confirmed

This means the underlying event was order.confirmed.v1, and the delivery was sent because the configured us-order-confirmed scenario matched.

idstringrequired

Unique delivery identifier. Use this for idempotency and deduplication.

createdAtstring, (date-time)required

Timestamp when the webhook delivery was created.

triggerNamestringrequired

Name of the configured trigger that generated the delivery.

triggeringEventstringrequired

Public business event that caused the webhook delivery.

There are currently two payload families:

  • OrderEvent for order-level notifications
  • ParcelEvent for parcel-level notifications

Events catalog

Webhook deliveries are triggered by a public Ingrid event exposed in the top-level triggeringEvent field.

Refer to Events Catalog for the list of supported events and their meaning.

Payload shapes

Order events

idstringrequired

Unique delivery identifier. Use this for idempotency and deduplication.

createdAtstring, (date-time)required

Timestamp when the webhook delivery was created.

triggerNamestringrequired

Name of the configured trigger that generated the delivery.

triggeringEventany(Webhooks.OrderPublicEventType)required
One of:

Published when an order is confirmed.

string(order.confirmed.v1)
typestringrequired

Payload model type for the data object.

Value:"ECOM_ORDER"
dataobject(Webhooks.EcomOrder)required

Complete e-commerce order model with fulfillments and parcels

Parcel events

idstringrequired

Unique delivery identifier. Use this for idempotency and deduplication.

createdAtstring, (date-time)required

Timestamp when the webhook delivery was created.

triggerNamestringrequired

Name of the configured trigger that generated the delivery.

triggeringEventany(Webhooks.ParcelPublicEventType)required
One of:

Published when parcel progress changes to Prepared by Merchant.

string(parcel.prepared_by_merchant.v1)
typestringrequired

Payload model type for the data object.

Value:"PARCEL"
dataobject(Webhooks.Parcel)required

Parcel model with associated order data

Where to go next