Skip to main content

Link Order To Fulfillment

POST 

/api/starshipit/integration-instances/:integration_instance/orders/:order/link-fulfillment

Manually links a cached StarShipIt order to a sales order fulfillment. Use this to repair orders the automatic matching could not link (they show as "unlinked" on the dashboard metrics).

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Body:

  • sku_fulfillment_id (integer, required) — the sales order fulfillment ID to link.

Returns the updated order, including the linked fulfillment summary under sku_fulfillment. Returns 400 when sku_fulfillment_id is missing, and 404 when the order cannot be found.

To remove the link again, use the unlink endpoint.

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type