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).

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

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