Skip to main content
GET
/
loyalty
/
cp
/
api
/
product-review-details
/
{productId}
Get product reviews by product ID
curl --request GET \
  --url https://loyalty-admin.appstle.com/loyalty/cp/api/product-review-details/{productId}
[
  {
    "title": "Excellent product!",
    "body": "This product exceeded my expectations in every way.",
    "rating": 5,
    "publishedStatus": true,
    "reviewerName": "John Doe",
    "productId": 12345,
    "createAt": "2025-01-15T10:30:00Z",
    "productTitle": "Premium Widget",
    "productImage": "https://cdn.shopify.com/image.jpg"
  }
]

Documentation Index

Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

productId
integer<int64>
required

ID of the product to get reviews for

Query Parameters

rating
integer<int32>

Filter reviews by rating (1-5 stars)

page
integer
default:0

Zero-based page index (0..N)

Required range: x >= 0
size
integer
default:20

The size of the page to be returned

Required range: x >= 1
sort
string[]

Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Response

Product reviews retrieved successfully with pagination headers (X-Total-Count, Link)

title
string
body
string
rating
integer<int32>
publishedStatus
boolean
reviewerName
string
productId
integer<int64>
pinned
boolean
createAt
string<date-time>
replayBody
string
replayDate
string<date-time>
productTitle
string
productHandle
string
productImage
string