Skip to main content

List Product Reviews (v1)

Method & Path

GET /api/v1/workspace/:workspaceId/storefront/product-reviews

Actual backend path: /v1/workspace/:workspaceId/storefront/product-reviews

Description

Lists product reviews for the workspace storefront. Supports filtering by product and by moderation/visibility state.

Authentication

Required: Bearer JWT.

Permissions: store.products.manage

Personas: Workspace Owner, Staff (role-based) with product management permission.

Headers

HeaderRequiredDescription
AuthorizationYesBearer <token>
X-Staff-IdIf staffStaff member id when acting as staff

Query Parameters

ParameterTypeRequiredDescription
productIdstringNoLimit to reviews for a single product
visibilitystringNoall (default), customer_visible (status visible), customer_hidden (status pending or hidden)
statusstringNoall (default), pending, visible, hidden. If set (not all), overrides visibility.
limitnumberNo1–200, default 50
offsetnumberNoPagination offset

Response 200 OK

{
"reviews": [
{
"id": "…",
"productId": "…",
"productName": "Product name",
"rating": 5,
"comment": "Great",
"authorName": "Sara",
"status": "pending",
"createdAt": "2026-04-05T10:00:00.000Z",
"updatedAt": "2026-04-05T10:00:00.000Z"
}
],
"total": 1
}

Common Errors

  • 401 Unauthorized: Missing or invalid token
  • 403 Forbidden: Missing store.products.manage
  • 400 Bad Request: Invalid query parameters