Skip to main content
The Product Edit 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, or scheduled jobs.

Generated methods

Each data model gets a standard set of auto-generated methods. For ProductChange: The same set exists for ProductChangeAction: createProductChangeActions, listProductChangeActions, updateProductChangeActions, and so on.
Prefer workflows for anything with side effects (confirming, declining, applying actions). The service writes records directly and does not apply actions to the product, emit events, or run compensation.