- Account
- Address
- Authorization
- Brand
- Cart
- Category
- Checkout
- Favorite
- Order
- Product
- Review
- Upload
- HomeGET
- SettingGET
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