- Account
- Address
- Authorization
- Brand
- Cart
- Category
- Checkout
- Favorite
- Order
- Product
- Review
- Upload
- HomeGET
- SettingGET
Create Review
Developing
POST
/reviews
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
locale
string
required
Example:
zh_cn
Body Params application/json
order_product_id
integer
required
rating
integer
required
title
string
required
content
string
required
Example
{
"order_product_id": 1,
"rating": 1,
"title": "xxx",
"content": "yyy"
}
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 POST 'https://api.innoshop.net/api/reviews' \
--header 'locale: zh_cn' \
--header 'Content-Type: application/json' \
--data-raw '{
"order_product_id": 1,
"rating": 1,
"title": "xxx",
"content": "yyy"
}'
Responses
🟢200OK
application/json
Body
object {0}
Example
{}
Modified at 2024-09-04 13:09:33