Submit Fulfillment
POST/api/starshipit/integration-instances/:integration_instance/orders/submit-fulfillment
Manually submits a sales order fulfillment to StarShipIt through the canonical fulfillment dispatch flow.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
Body:
sku_fulfillment_id(integer, required) — the sales order fulfillment whose parent sales order should be dispatched.
The dispatch runs synchronously and covers the whole parent sales order: it performs duplicate-order detection and is idempotent — fulfillments already submitted to the carrier (or in a terminal state) are skipped rather than resubmitted.
Returns 400 when sku_fulfillment_id is missing, 404 when the fulfillment or its sales order cannot be found, and 502 when the dispatch fails (for example a StarShipIt API error).
Authentication: Requires Bearer token.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
- 502
OK
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.
Bad Gateway