iAdvizeDocs

Get a site's storefront activity

Returns when the site last received an add-to-cart and an order from its storefront, and an order from an order webhook, as server receive times. Each time is `null` until the first one arrives. A time that stops moving points to a channel that stopped sending. Answers for any site, whatever its platform or connectors. Read-only; the counts are in the add-to-cart counts and the Sales report.

GET
/api/v1/sites/{siteId}/storefront-activity

Authorization

ApiKeyAuth
AuthorizationBearer <token>

A WorkOS org-scoped API key, created from the dashboard's organization settings page. Identifies the tenant every read and write is scoped to. Missing, malformed, unknown, revoked, expired, or non-organization-owned keys all return 401 (no distinction, so the response can't be used to probe which keys or org ids exist).

In: header

Path Parameters

siteId*string

The site id (prefixed site_). A site id that isn't yours is a 404, same as any other cross-tenant id.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v1/sites/string/storefront-activity"
{  "data": {    "siteId": "site_01kvnwmagvf27rc9cze5rm9e1r",    "lastStorefrontAddAt": "2026-10-26T09:41:00.000Z",    "lastStorefrontOrderAt": "2026-10-26T08:12:00.000Z",    "lastWebhookOrderAt": null  }}