Link Order to Fulfillment
POST/api/shipstation/integration-instances/:integration_instance/orders/:order/link-fulfillment
Manually links a cached ShipStation order to a SKU.io SalesOrderFulfillment by setting sku_fulfillment_id on the order (matched by its ShipStation order ID).
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
Body fields:
sku_fulfillment_id(integer, required) — the SalesOrderFulfillment ID to link.
Returns the updated order (with json_object included and the populated sku_fulfillment object).
Errors: 400 when sku_fulfillment_id is missing/zero; 404 when the order does not belong to the instance, or when no cached order with that ShipStation order ID exists.
Authentication: Requires Bearer token.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Bad Request
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Validation failed — the body is a field → messages map (Laravel shape) or the platform envelope with a stable machine-readable code. Fix the payload and resubmit.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.