Convert Your Customers with Our Product Review API

By Brandify Digital Team
Slide 1
Slide 2
Slide 3
Slide 4

Introduction

This API server provides endpoints for managing and displaying product reviews on your Shopify store. Use it to fetch, submit, and moderate customer reviews, enhancing your store's credibility and customer engagement.

API Endpoints

1. API for fetch all reviews by product id
https://shopify-review-api.vercel.app/api/reviews?productId=<product-id>
example
const createReviews = async () => {
  try {
    const res = await fetch('https://shopify-review-api.vercel.app/api/reviews?productId=1234', {
      method: 'POST',
      headers: {
        'Content-Type': 'application-json',
        'x-api-secret': '832a239e-6909-4b10-bcf5-a69f44edaa89'
      }
    })

    const data = await res.json()

    // here data are used

  } catch (err) {
    console.log(err)
  }
}
2. API for fetch all reviews by shop id
https://shopify-review-api.vercel.app/api/reviews?shopId=<shop-id>
example
https://shopify-review-api.vercel.app/api/reviews?shopId=1234
3. API for create review for Product and header and payload.
https://shopify-review-api.vercel.app/api/reviews?productId=<product-id>
a. API secret
{"x-api-secret": "832a239e-6909-4b10-bcf5-a69f44edaa89"}
b .payload
{"productId": "10", "customerName": "Arif Islam", "rating": 4.3, "comment": "Nice Pc!" }
c. Example
const createReviews = async () => {
  try {
    const res = await fetch('https://shopify-review-api.vercel.app/api/reviews?productId=1234', {
      method: 'POST',
      headers: {
        'Content-Type': 'application-json',
        'x-api-secret': '832a239e-6909-4b10-bcf5-a69f44edaa89'
      },
      body: JSON.stringify({
        {
          "productId": "12",
          "shopName": "Saad Store",
          "shopId": "13",
          "customerName": "Dennis",
          "rating": 4.6,
          "title": "Good product",
          "comment": "Heavy"
        }
      
      })
    })

    const data = await res.json()

  } catch (err) {
    console.log(err)
  }
}

Features

Highly Secured

APIs are secured with api secret key. So review data are protected.

Blazing Fast and Optimized

APIs are fast and highly optimized,

User Friendly

Designed with developers in mind, providing an easy and clean integration experience.
About us
Footer