intermediate 5 min

Fulfillment Sync

Propagate tracking information from source stores back to customers.

When a source store fulfills an order, the platform automatically syncs tracking information back to the reseller store so customers receive shipping confirmations.

How it works

  1. A source store marks an order as fulfilled in Shopify
  2. Shopify sends a fulfillments/create webhook to POST /v1/fulfillments/webhook
  3. The platform looks up the corresponding sync job to find the original reseller order
  4. Tracking information (number, carrier, URL) is forwarded to the reseller store via the Shopify API
  5. The customer receives a branded shipping confirmation from the reseller store

Required webhook setup

Configure the fulfillments/create webhook on each source store in Shopify, pointing to:

POST https://api.example.com/v1/fulfillments/webhook

The webhook must include the X-Shopify-Hmac-SHA256 and X-Shopify-Shop-Domain headers for HMAC verification.

Tracking information

The fulfillment webhook extracts:

FieldDescription
tracking_numberCarrier tracking number
tracking_companyCarrier name (defaults to “Unknown” if absent)
tracking_urlTracking URL (optional)

Prerequisites

For fulfillment sync to work:

  • The source store must have a completed sync job for the order
  • The sync job must have a sourceOrderId (set when the source order was created)
  • The reseller store’s access token must have fulfillment write permissions

What’s next?

  • Sync Jobs — Monitor and manage the sync pipeline
  • Audit Log — Review the activity trail