Skip to content

Update Review

POST
/store/reviews/{productId}
curl --request POST \
--url http://localhost:9000/store/reviews/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "rating": 1, "title": "example", "body": "example", "author_name": "example", "author_email": "example", "order_id": "example" }'
productId
required
string
Media type application/json
object
rating
required
number
>= 1 <= 5
title
string
body
required
string
>= 1 characters
author_name
required
string
>= 1 characters
author_email
string
order_id
string
Example generated
{
"rating": 1,
"title": "example",
"body": "example",
"author_name": "example",
"author_email": "example",
"order_id": "example"
}

OK

Media type application/json
object
Example generated
{}

Unauthorized