Skip to main content

Sync Order Detail

POST 

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

Refresh a single Veracore order's stored data by fetching full order detail from the Veracore API. The fetched detail (status flags, shipping, line items, addresses) is merged into the locally stored order and the detail-refresh timestamp is updated.

Authorization

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

Veracore reports status as a block of flags where several can be true at once; the most advanced flag becomes the order's current status (Canceled and Complete take precedence, then Shipped, and so on).

The call is synchronous — the Veracore API is contacted during the request and the refreshed order is returned.

Errors

  • 404 when the order does not exist or belongs to a different integration instance.
  • 422 when the stored record has no Veracore order id to fetch by; run a full order sync first.
  • 502 when the Veracore API call fails.

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type