Skip to main content
The Review module exposes a service you can resolve from the Medusa container to read and write records directly, without going through a workflow. Use it inside custom services, subscribers, scheduled jobs, or route handlers.

Generated methods

The Review model gets a standard set of auto-generated methods:

Aggregate-rating methods

The service adds three helpers that compute average ratings on demand: See Compute aggregate ratings for usage.
Prefer workflows for anything with side effects (creation with its validation and links, responses, moderation). The service writes records directly and does not run the create-flow validation or manage the target/order/customer links.