1. Reviews Data API
Trustoo
  • Reviews Widget Integration
  • Reviews Data API
    • API Quick Start
    • Response Code
    • Webhook Description
    • Under development
      • Get OAuth2 Authorization URL
      • OAuth2 Merchant Authorization
      • OAuth2 Get Access Token
      • Get Shop OAuth Installation Status
    • Create shop webhook
      POST
    • Update shop webhook
      POST
    • Delete shop webhook
      POST
    • Get shop webhooks
      GET
    • Get review detail
      GET
    • Get review list
      GET
    • Get order list
      GET
    • Get rating
      GET
    • Get customer event list
      GET
    • Unsubscribe
      POST
    • Get the video upload url
      GET
    • Create review
      POST
    • Delete review
      POST
    • Create customer exclusion
      POST
    • Delete customer exclusion
      POST
    • Get customer exclusion list
      GET
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. Reviews Data API

Get rating

GET
/api/v1/openapi/get_rating

Request

Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://rapi.trustoo.io/api/v1/openapi/get_rating?product_id=123455&product_handle=undefined&is_store_rating=1&is_all_products_rating=0&is_all_rating=0' \
--header 'Public-Token: f4OUkAIBAHAPbhn/fPjv1g==' \
--header 'Sign: 6773f3739889716a1f9cb373c5b4633443a8fa11ad40a17ab5b544f6d61e9118' \
--header 'Timestamp: 1779679687'

Responses

🟢200OK
application/json
Bodyapplication/json

Example
{
    "code": 0,
    "message": "success",
    "time": 1774255027,
    "request_id": "67867e6a1cc3bd131ee78d681aa23ad4",
    "data": {
        "rating_value": "0",
        "review_count": 0,
        "star1_count": 0,
        "star2_count": 0,
        "star3_count": 0,
        "star4_count": 0,
        "star5_count": 0
    }
}
Modified at 2026-05-25 03:30:00
Previous
Get order list
Next
Get customer event list
Built with