Get Sync Health
GET/api/integration-instances/:integration_instance/sync-health
Returns the last check of the connection, made every 5 minutes.
integrations:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token + integrations.show permission.
One row per direction: inventory (stock going out) and orders (orders arriving). An empty list means the channel is not watched; Shopify and NuORDER are.
state: ok (nothing waiting, or order checks succeeding), waiting (work waits, within the threshold), catching_up (updates are going out but some have waited past the threshold), stalled (work has waited past the threshold and nothing is moving it), paused (sync is off on purpose; reason says why), never (not checked yet).
pending counts quantities waiting to be recalculated or sent, or order notices not handled yet. oldest_pending_at is when SKU.io last tried to move the oldest one on. retrying counts quantities tried at every sync without being accepted or rejected, and failing listings the channel is rejecting; neither is in pending. threshold_minutes is the alert's threshold.
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
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 — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
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.