List approved reviews publicly

Lists the site's approved reviews, newest first by default. Filter by rating, featured status, product, language and date. A `product` naming no published product returns 404 `PRODUCT_NOT_FOUND`. On a multi-language site, `locale` lists each review once, in the best translation the locale chain finds, and `fallback=false` keeps the requested locale only. With `product` and no `locale`, reviews come in every language. With neither, only the default locale's reviews are listed. A `fallback` that is not a boolean returns 422.

Required access
No credentialOptional: publishable keySite access
GET/reviews
Base URLhttps://api.lynkow.com/storefront/{siteId}

Query parameters

dateFrom
string

Filter from date (ISO 8601)

dateTo
string

Filter until date (ISO 8601)

excludeIds
string[]

Leaves out the items with these UUIDs

fallback
boolean

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

Default: true

ids
string[]

Keeps only the items with these UUIDs

isFeatured
boolean

`true` keeps only the featured reviews, `false` only the others

language
string

Keeps only the reviews served in this language (a locale code). Unlike `locale`, it hides the reviews in other languages.

limit
number

Number of items per page

Default: 20

Max: 100

Min: 1

locale
string

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

page
number

Page number, starting at 1

Default: 1

Min: 1

product
string

Product `prod_` id or slug. A value naming no published product returns 404.

productName
string

Associated product name

rating
number

Keeps only the reviews with exactly this rating

Max: 5

Min: 1

ratingMax
number

Keeps only the reviews rated at most this

Max: 5

Min: 1

ratingMin
number

Keeps only the reviews rated at least this

Max: 5

Min: 1

reviewDateFrom
string

Filter by review date from (ISO 8601)

reviewDateTo
string

Filter by review date until (ISO 8601)

slug
string

URL-friendly identifier, unique per site and locale

slugs
string[]

Keeps only the items whose slug is one of these

sortBy
enum("created_at" | "rating" | "author_name" | "display_order" | "review_date")

One of: created_at, rating, author_name, display_order, review_date

Default: "created_at"

sortOrder
enum("asc" | "desc")

One of: asc, desc

Default: "desc"

source
enum("admin" | "csv_import" | "public_form")

One of: admin, csv_import, public_form

status
enum("pending" | "approved" | "rejected")

One of: pending, approved, rejected

translationGroupId
string

Translation group UUID (links translations across locales). UUID format

Feedback

Was this page helpful?