@mercurjs/core/workflows and run them against the Medusa container.
Lifecycle workflows
Apply workflows
Edit helpers
High-level workflows that diff your input and stage the right actions for you.Audit-trail workflows
To work with records directly instead of through a workflow, see the
Service reference. To run side effects
when a change resolves, see the
Event reference.