List published products

Lists the site's published products, paginated. Filter with `search` (title, slug), `kind`, `market`, `collection` or `category`, the last two by wire id or slug. A category includes its visible subcategories. With `locale`, each product is served in the requested locale or its fallback chain: base language, site default locale, then its own language. A product hidden in a language is left out of reads in that language (the default locale without `locale`). Prices include VAT where it applies, for a delivery to `country`, else to the merchant's country, which bookable products always use. Errors: 404 `PRODUCT_COLLECTION_NOT_FOUND`, `PRODUCT_CATEGORY_NOT_FOUND`. > **Note:** Available only on sites with e-commerce enabled.

Required access
Send
  • Publishable keyX-Lynkow-Pk
Site access
GET/products
Base URLhttps://api.lynkow.com/storefront/{siteId}

Query parameters

category
string

1-200 characters

collection
string

1-200 characters

country
string

Delivery country (ISO 3166-1 alpha-2) the prices include VAT for. An unusable value falls back to the merchant's country

fallback
boolean

With `locale`, `false` leaves out the items not translated into the requested locale. Single-language sites ignore it

Default: true

kind
enum("standard" | "bookable")

Product kind: standard or bookable. One of: standard, bookable

limit
number

Number of items per page

Default: 20

Max: 100

Min: 1

locale
string

BCP 47 locale code (e.g. "en", "fr")

market
string

Market `mkt_` id: products hidden in that market are left out. An unknown, draft or malformed value is ignored

page
number

Page number, starting at 1

Default: 1

Min: 1

sortBy
enum("title" | "price_cents" | "created_at")

One of: title, price_cents, created_at

Default: "created_at"

sortOrder
enum("asc" | "desc")

One of: asc, desc

Default: "desc"

Feedback

Was this page helpful?