Check Sync Health
POST/api/integration-instances/:integration_instance/sync-health/check
Checks the connection now and returns the result. Reads stored data only; it does not call the channel. Raises or closes the Inventory Not Going Out and Orders Not Arriving alerts like the scheduled check.
integrations:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token + integrations.sync permission.
No request body.
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
- 422
- 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.
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.