1. Reviews Data API
Trustoo
  • Reviews Widget Integration
  • Reviews Data API
    • API Quick Start
    • Response Code
    • Webhook Description
    • 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 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
    • Get rating
      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 --request GET 'https://rapi.trustoo.io/api/v1/openapi/get_rating?product_id=0&product_handle&is_store_rating=1&is_all_products_rating=0&is_all_rating=0' \
--header 'Public-Token: 4r1VQ1UAjM2DQYInEQvaOg=='

Responses

🟢200OK
application/json
Body

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-03-23 09:30:54
Previous
Get customer exclusion list
Next
Pet
Built with