Fera Partner Docs
  • Become a Partner
  • 🤝Partner Portal
    • Managed Stores
    • Apps
      • Creating an App
      • Testing App
      • Authenticating App
      • Publishing App
      • Managing App
    • Referrals
      • Referral Link
      • Tracking Referrals
      • Getting Paid
    • Team
  • Partner Badges
    • Works With Fera
    • Trusted Partner Badges
  • 👷Agencies
    • Become Agency Partner
    • Setting up a new store
    • Creating custom storefronts
  • 🧑‍💻Apps & Platforms
    • Become App/Integration Partner
    • SEO Apps
    • Shipping Apps
    • Support Apps
    • Messaging Apps
      • Requesting Reviews
    • Page Builder Apps
    • Partner Resources
  • 🖌️Theme Developers
    • Become Theme Partner
    • Shopify Themes
      • Display Ratings
      • Display Reviews
        • By Customer
    • SEO Schema Support
  • 🎬Content Creators
    • Join Affiliate Program
    • Referral Program
    • Brand Assets
  • 🧑‍💻Developers
    • Visit Developer Center
    • Partner API
      • List Reviews
      • Retrieve Product Ratings
      • Check if Site is Using Fera
      • Other API Endpoints
Powered by GitBook
On this page

Was this helpful?

  1. Developers
  2. Partner API

Retrieve Product Ratings

Retrieve product ratings from the site

PreviousList ReviewsNextCheck if Site is Using Fera

Last updated 2 years ago

Was this helpful?

Use this endpoint to grab a product's rating from a store if you only have the store's domain/url:

Code Examples

curl --request GET \
     --url https://api.fera.ai/v3/partners/stores/products/123456789/rating?domain=example.com \
     --header 'Api-Key: YOUR_PARTNER_API_KEY'
# See JSON response examples above
🧑‍💻

Retrieve Product Ratings

get

Retrieve a specific product's aggregate rating information (average rating and rating/review count).

Authorizations
Path parameters
idstringRequired

Product ID want to retrieve the rating for. External product ID is also accepted here.

Example: fpro_12ab
Query parameters
domainstringRequired

Domain, URL, public key or Fera ID of the shop/store.

Example: example.myshopify.com
Responses
200
Successful response
application/json
404
Not found error
application/json
get
GET /v3/partners/stores/products/{id}/rating HTTP/1.1
Host: api.fera.ai
Accept: */*
{
  "subject": "product",
  "external_product_id": "12345678",
  "product_id": "fpro_12ab",
  "average": 4.8,
  "count": 123,
  "ungrouped_average": 4.7,
  "ungrouped_count": 12
}
  • GETRetrieve Product Ratings
  • Code Examples