Skip to content

Get Product Review

Retrieve detailed information for a specific product review.

Endpoint

GET /api/shop/products/{productId}/reviews/{reviewId}

Request Headers

HeaderRequiredDescription
Content-TypeYesapplication/json
X-STOREFRONT-KEYYesYour storefront API key

Path Parameters

ParameterTypeRequiredDescription
productIdintegerYesProduct ID
reviewIdintegerYesReview ID

Response Fields (200 OK)

FieldTypeDescription
idintegerReview ID
productIdintegerProduct ID reviewed
titlestringReview title
commentstringFull review text
ratingintegerRating (1-5 stars)
authorNamestringReviewer name
authorEmailstringReviewer email
customerIdintegerCustomer ID (if customer review)
statusstringReview status (approved, pending, rejected)
helpfulintegerNumber of helpful votes
unhelpfulintegerNumber of unhelpful votes
createdAtstringCreation date
updatedAtstringLast update date

Use Cases

  • Display individual review details
  • Show review with full context
  • Build review reply/discussion features
  • Load specific review for editing/flagging
  • Create featured review sections

Released under the MIT License.