Innoshop Frontend API
HomeInnoShop
Source Code
  • Github
  • Gitee
  • GitCode
HomeInnoShop
Source Code
  • Github
  • Gitee
  • GitCode
  1. Review
  • Account
    • Me
      GET
    • Update Profile
      PUT
    • Set Password
      POST
    • Update Password
      PUT
  • Address
    • Address List
      GET
    • Address Create
      POST
    • Address Update
      PUT
    • Address Delete
      DELETE
    • Address Detail
      GET
  • Authorization
    • Login
      POST
    • Register
      POST
  • Brand
    • Brands
      GET
    • Grouped
      GET
  • Cart
    • Cart List
      GET
    • Cart Create
      POST
    • Cart Update
      PUT
    • Cart Delete
      DELETE
    • Batch Select
      POST
    • Batch Unselect
      POST
  • Category
    • Category Tree
      GET
    • Category List
      GET
  • Checkout
    • Get Checkout
    • Update Checkout
    • Confirm
  • Favorite
    • Favorite Create
    • Favorite List
    • Favorite Cancel
  • Order
    • Order List
    • Order Detail
    • Number Detail
    • Order Pay
  • Product
    • Product List
    • Product Detail
    • Product Reviews
  • Review
    • Review List
      GET
    • Create Review
      POST
    • Delete Review
      DELETE
  • Upload
    • Upload Images
  • Home
    GET
  • Setting
    GET
  1. Review

Review List

Developing
GET
/reviews

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Request 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://api.innoshop.net/api/reviews'

Responses

🟢200OK
application/json
Body
data
array [object {13}] 
required
id
integer 
optional
customer_id
integer 
optional
product_id
integer 
optional
order_item_id
integer 
optional
customer_name
string 
optional
customer_avatar
string 
optional
rating
integer 
optional
title
string 
optional
content
string 
optional
like
integer 
optional
dislike
integer 
optional
active
integer 
optional
created_at
string 
optional
links
object 
required
first
string 
required
last
string 
required
prev
null 
required
next
null 
required
meta
object 
required
current_page
integer 
required
from
integer 
required
last_page
integer 
required
links
array [object {3}] 
required
path
string 
required
per_page
integer 
required
to
integer 
required
total
integer 
required
Example
{
    "data": [
        {
            "id": 1,
            "customer_id": 24,
            "product_id": 1,
            "order_item_id": 98,
            "customer_name": "1234",
            "customer_avatar": "https://api.innoshop.net/cache/storage/common/5m32oVWNZaylsKy9PPHl8FTCSuftUeBk4aolGRJ3-100x100.png",
            "rating": 5,
            "title": "666",
            "content": "666",
            "like": 0,
            "dislike": 0,
            "active": 1,
            "created_at": "2024-09-01T03:24:43.000000Z"
        }
    ],
    "links": {
        "first": "https://api.innoshop.net/api/reviews?page=1",
        "last": "https://api.innoshop.net/api/reviews?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "« 上一页",
                "active": false
            },
            {
                "url": "https://api.innoshop.net/api/reviews?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "下一页 »",
                "active": false
            }
        ],
        "path": "https://api.innoshop.net/api/reviews",
        "per_page": 15,
        "to": 1,
        "total": 1
    }
}
Modified at 2024-08-24 01:41:49
Previous
Product Reviews
Next
Create Review
Built with