Skip to main content

Get Loop Sync Info

GET 

/api/loop-returns/sync-info

What the "Refresh from Loop" dialog shows before it runs.

Required scope: returns:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Response data:

  • instance_id (integer) — the Loop connection
  • last_checked_at (ISO 8601 UTC, nullable) — when SKU.io last read Loop up to now (the daily reconciliation or a refresh); before the first recorded check, the newest change Loop reported among the returns SKU.io has; null when there are none
  • latest_loop_return_id (string, nullable) — the Loop return most recently updated in Loop
  • total (integer) — Loop returns mirrored in SKU.io

Returns 404 with a message when the account has no Loop Returns connection.

Authentication: Requires a Bearer token with the returns scope (read for GET, write for the others).

Request​

Responses​

OK

Response Headers
    Content-Type