Improved

Reviews guides now use the V3 storefront API

The headless integration guide and the custom reviews widgets playbook now read ratings and reviews with the V3 storefront API. Writes, votes and Q&A stay on v1.

Two corrections in the playbook:

  • Product rating field name. The product rating endpoint returns totalReviews. The example showed totalReview, which is only the field name in the product reviews response.
  • Site reviews. Read site reviews from the product endpoints with the product ID yotpo_site_reviews. The playbook pointed to Retrieve store reviews, which returns every review in the store.