Appearance
Submit a product review (customer-scoped)
POST
/rest/v1/product/review
Customer-authenticated review submission. The reviewing customer is taken from the bearer token; the review is stored pending moderation (active=0). customer_id, active, review_date, is_email_sent and lang are server-forced and ignored if supplied in the body.
Authorizations
bearerAuth
JWT access token obtained from /rest/auth/admin/login or /rest/auth/customer/login
Type
HTTP (bearer)
Request Body
application/json
JSON "productId": 0, "starPoints": 0, "nickname": "string", "content": "string"
{
}
Responses
Review submitted (pending moderation)
application/json
JSON
"string"