Skip to main content

Refresh Single Order

POST 

/api/shipstation/integration-instances/:integration_instance/orders/refresh-order

Download (or update) a single order live from ShipStation by its ShipStation order id and upsert it into the local cache with detailed data (has_detailed_data: true, details_last_updated stamped). Backs the search tab's per-result Download/Update buttons. Newly downloaded orders are auto-linked to a matching SKU fulfillment when an unambiguous match exists.

Authorization

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

Body parameters:

  • uniqueIdrequired string. The ShipStation order id (shipstation_order_id / orderId, as returned by the live search endpoint).

Returns the persisted order serialized with json_object included.

Errors:

  • 422 if uniqueId is missing
  • 502 if the upstream ShipStation fetch or persistence fails (message: Failed to refresh order: ...)

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type