Skip to main content

Sync Fulfillment Order from Provider

POST 

/api/fulfillment-orders/:fulfillmentOrder/sync-from-provider

Pull the shipping provider's latest data for the whole fulfillment order and reconcile the shipments it may have produced. An awaiting fulfillment order that the provider now reports shipped gets its shipment created; existing shipments have their tracking and status refreshed.

Required scope: orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

The fulfillment order must already have a registered provider order — 422 otherwise, and 422 on provider/transport failures.

Response fields: data (the refreshed fulfillment order with lines and shipments), message (summary of what the sync did), shipment_status (the provider's reported shipment status), tracking_pipeline_ran (whether tracking updates were processed).

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type