Skip to main content

Relations Overview

RelationshipTypeDescription
Review → Product (Product Module)Read-only - has oneA review can reference a product
Review → Seller (Seller Module)Read-only - has oneA review can reference a seller
Review → Customer (Customer Module)Read-only - has oneA review is created by a customer

Data Models

Review

This documentation provides a reference to the Review data model. It belongs to the Review Module.
FieldTypeDescription
idPrimaryKeyModifier<IdProperty>The ID of the review.
referenceEnumProperty<["product", "seller"]>The type of entity being reviewed. Can be product or seller.
ratingNumberPropertyThe rating value of the review (1-5).
customer_noteTextPropertyThe customer’s written review comment.
seller_noteTextPropertyThe seller’s response to the review.