Create a fulfillment
Manually creates a fulfillment on a completed order, bypassing order routing — for example to mirror a shipment handled by an external carrier or 3PL. Moves the requested line item quantities out of their current fulfillments; when items is omitted, every not-yet-shipped unit is moved. Pass status: 'shipped' to register an already-shipped fulfillment (fires shipped webhooks and freezes cost/carrier). When delivery_method_id is omitted, the fulfillment inherits the delivery method and cost of the source fulfillment(s) it fully drains — keeping the order total unchanged; partially drained splits get no carrier when shipped, and pending fulfillments are otherwise (re)priced by the standard rate engine, which selects the lowest-cost available rate. Pass cost to set an explicit shipping cost instead (e.g. the 3PL price) — note this changes the order total and payment state, and is guaranteed to persist only with status: 'shipped' (pending fulfillments are re-priced by the rate engine).
Required scope: write_fulfillments (for API-key authentication).
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Headers
Bearer token for admin authentication
Path Parameters
Order ID
Body
Stock location the fulfillment ships from
Carrier tracking number, or a full https:// tracking link — a full URL is served back as tracking_url unchanged instead of being templated into the delivery method tracking URL
"INPOST-12345"
Delivery method (carrier) to attach as the selected rate. Defaults to the delivery method of the fully drained source fulfillment(s)
Explicit shipping cost. Defaults to the summed cost of the fully drained source fulfillment(s), which keeps the order total unchanged; an explicit cost changes the order total and payment state. Guaranteed to persist only with status: 'shipped' — pending fulfillments are re-priced by the rate engine
"7.42"
Pass 'shipped' to register the fulfillment as already shipped
shipped Line item quantities to fulfill. Omit to fulfill every not-yet-shipped unit.
Response
fulfillment created

