Skip to main content

Sync Order Detail

POST 

/api/starshipit/integration-instances/:integration_instance/orders/:order/sync-detail

Fetches the latest data for a single order live from the StarShipIt API and persists it to the local cache (updating json_object, setting has_detailed_data and details_last_updated). Returns the refreshed order, including the raw payload.

Authorization

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

This is the live-refresh companion to GET .../orders/:order/detail, which reads the cache without calling StarShipIt.

If the order has no StarShipIt order ID yet (for example a deferred submission placeholder), the order is returned unchanged. Returns 404 when the order does not belong to this instance, and 502 when the StarShipIt API call fails.

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type