Skip to Content
iAdvizeDocs

List a site's stored products

Returns the products stored from the site's product feed, 50 a page by default (`limit` is 1 to 100), sorted by `title` (default) or `importedAt`. Only live products are listed unless `state=absent` asks for the ones the last complete import no longer held. Each product carries the date of the import that last held it. A cursor is bound to the site, the filter, the sort and the order it was issued for. Prices are in minor units; a product the feed gives no availability for reads `availability: null`, never `false`. Titles and descriptions come from the merchant's feed.

GET
/api/v1/sites/{siteId}/products

Authorization

ApiKeyAuth
headerAuthorizationBearer <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).

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.

Query Parameters

state?string

live (default) or absent.

Default"live"
Value in"live""absent"
sort?string

The sort key: title (default, ascending) or importedAt.

Default"title"
Value in"title""importedAt"
order?string

asc or desc; absent, the sort's own order.

Value in"asc""desc"
cursor?string

The meta.nextCursor of the previous page, with the same filters and sort.

Lengthlength <= 1024
limit?integer

The page size, 1 to 100.

Range1 <= value <= 100
Default50

Response Body

One page of products. meta.nextCursor is null on the last page.

application/json
  1. response
data*array<>
meta*
Example Request
curl -X GET 'https://example.com/api/v1/sites/string/products'
Example Response
{  "data": [    {      "id": "prd_01kvnwmagvf27rc9cze5rm9e1r",      "itemId": "SKU-1042",      "groupId": "SKU-1040",      "title": "Sliding door cabinet, 120 x 80 cm",      "url": "https://shop.example/products/sliding-door-cabinet",      "images": [        "https://shop.example/images/cabinet.jpg"      ],      "price": {        "amountMinor": 18900,        "currency": "EUR"      },      "listPrice": {        "amountMinor": 22900,        "currency": "EUR"      },      "availability": null,      "description": "Steel cabinet with two sliding doors and four shelves.",      "brand": "Example",      "state": "live",      "importedAt": "2026-11-20T09:04:12.000Z"    }  ],  "meta": {    "nextCursor": null,    "total": {      "count": 1,      "capped": false    }  }}