Install the package
Add@reorderjs/reorder to your Medusa project using npm or yarn.
Add the plugin to medusa-config.ts
Open yourmedusa-config.ts file and add Reorder to the plugins array.
medusa-config.ts
The
options object is required but empty for the current release. No configuration values are needed to get the plugin running.Start Medusa
Run your normal Medusa startup command. Reorder registers all of its components on boot.Local development with a checked-out Reorder repo
If you are developing Reorder locally and want a Medusa backend to use your local checkout instead of the published package, point the backend dependency to the local filesystem copy.package.json
Refreshing the local plugin version in a Medusa backend
When you change code in your localreorder repository, use this sequence so the Medusa backend picks up the newest build and migrations:
- In the
reorderrepository, runyarn medusa plugin:publish - In the Medusa backend, run
yarn medusa db:migrate - In the Medusa backend, run
yarn install
What gets added to your store
Once the plugin is loaded, Medusa boots with the following additions from Reorder:| Component | What it provides |
|---|---|
| Admin UI routes | Dedicated pages for Subscriptions, Plans & Offers, Renewals, Dunning, Cancellations, Activity Log, Analytics, and Subscription Settings — accessible from the Medusa Admin sidebar |
| Admin API routes | Protected REST endpoints under /admin/ for all subscription operations, settings, and analytics queries |
| Store API routes | Customer-facing endpoints under /store/ for subscription checkout and offer resolution |
| Scheduled jobs | Renewal execution, dunning retry scheduling, and analytics roll-up jobs that run on configurable cadences |
Next steps
- Subscription settings — configure global defaults for trials, dunning, renewals, and cancellations
- Plans & Offers — create your first subscription plan and attach it to a product
- Requirements — verify Node.js and Medusa version compatibility before installing