v1

latestSwagger 2.02026-07-17148179252.3 KB
Catalog

Creates a product review.

post/catalog/products/{product_id}/reviews

Request body

titlestring

The title for the product review.

textstring

The text for the product review.

statusstring

The status of the product review. Must be one of approved, disapproved or pending.

ratinginteger

The rating of the product review. Must be one of 0, 1, 2, 3, 4, 5.

emailstring

The email of the reviewer. Must be a valid email, or an empty string.

namestring

The name of the reviewer.

date_reviewedstring date-time

Date the product was reviewed.

Response

A product review.

metaMeta

Empty meta object; may be used later.