Skip to main content
POST
/
store
/
reviews
Create new review
curl --request POST \
  --url https://api.example.com/store/reviews \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "order_id": "<string>",
  "reference": "seller",
  "reference_id": "<string>",
  "rating": 3,
  "customer_note": "<string>"
}
'
{
  "product": {
    "id": "<string>",
    "rating": 123,
    "reference": "seller",
    "customer_note": "<string>",
    "customer_id": "<string>",
    "seller_note": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

fields
string

Comma-separated fields to include in the response.

Body

application/json

A schema for creating a review.

order_id
string

The unique identifier of the order.

reference
enum<string>

Indicates if review reference is seller or product

Available options:
seller,
product
reference_id
string

The unique identifier of reference.

rating
number

The customer rating on the resource.

Required range: 1 <= x <= 5
customer_note
string

The customer note on the resource.

Maximum string length: 300

Response

201 - application/json

OK

product
Seller/product review · object

A product/seller review with rating and comment