Get Instance
GET/api/storefront/instances/:id
One instance with its full settings, connection state, per-entity sync cursors and live counts.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Notable fields:
auth—oauthwhen the store's owner approved and the store issued the key,api_keywhen a key was pasted in.connectioncarries the store's own record of an owner-approved connection (id, name, tenant, scopes, created_at) and is null for a pasted key.pricing— the canonical pricing node:master_of_price(sku.io,sales_channelorneither),pricing_tierandcompare_at_pricing_tier. The flatproduct_pricing_tier_id/compare_at_pricing_tier_idfields are the same values, kept for older clients.inventory.master_of_stock—sku.ioorneither. The store never masters stock (the Store API has no inbound inventory feed), and an instance that has never been configured reads assku.ioso an existing store's inventory sync does not go quiet.last_products_sync— when the store's catalogue was last imported. Falls back to the inbound sweep'scursor_atwhen no completion timestamp has been recorded yet.api_key_hint— the last four characters of the key. The key itself is never returned.
Authentication: Bearer token (session or PAT).
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
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
Response Headers
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.