Skip to main content

Product Review

Class name: ProductReview

PropertyTypeDescriptionRequired
userIdstringThe ID of the user who is reviewing the productYes
productIdstringThe ID of the product being reviewedYes
variationIdstringThe ID of the product variation being reviewed, if this is a variable productNo
vendorIdstringThe ID of the vendor who created the productYes
ratingnumberThe rating given by the userYes
titlestringThe title of the review. 50 characters maxYes
commentstringThe comment of the review. 300 characters maxYes
statusstringThe status of the review (e.g., 'pending', 'approved', 'rejected'). Defaults to approved. Set to pending when a review is reported and waiting for admin approval.Yes
imageIdstringThe ID of the image associated with the reviewNo