Review

Here is the list of methods and properties available on the review object.

Property

Property
Description

id

ID of review.

productId

The reviewed product ID.

orderId

The related order ID of review.

variantIds

The variant IDs related of the review.

reviewerId

The customer user ID.

rating

Int. The rating value.

comment

String. The review comment.

status

String. The status of review. (live, pending, expired)

dateCreated

DateTime. The review creation date should be the time when the order moved to the desired status.

dateUpdated

DateTime. The date that review was updated.

Method

getProduct()

ProductElement. Get the reviewed Product

getReviewer()

UserElement. Get the related user.

getVariants()

List of VariantElement. Get the list of reviewed variant.

Last updated