Framework

Framework

Customization tools to build
anyanyany commerce feature.

Medusa has a fully fledged backend framework built-in for powerful customizations. Build business features with custom data models, workflows, UI extensions, and API endpoints.

New subscription createdCustomer #456 added subscription
ActionClose
New product added from CMSUpdate its variant pricing now
ActionClose
Order data synced with ERPWorkflow #21 completed successfully
ActionClose
Framework image
Framework icon

Framework

All commerce applications need customizations. Use our framework to build them.

Traditional commerce platforms force you to use separate servers, middleware or applications for customizations. This is hard to manage and slows down development velocity. In Medusa, you have a built-in foundation for customizations.

When that happens, other platforms require you to hack your way around APIs. We allow you to build the customizations natively through Medusa's framework, making developers faster and the stack much easier to maintain.

Medusa's tools enable you to avoid hacky workarounds and instead build bespoke, scalable commerce applications fast. Let Medusa provide the framework, so you can focus on building the features that differentiate your business.

Tools icon

Tools

Tools to build your commerce customizations.

The primitives you need to build anything and customize everything.

Subscribers

Use Medusa’s built-in event system to subscribe and respond to events like order.placed, product.created, and more.

Admin Extensions

Inject custom React components into existing Admin pages using Widgets or create new pages from scratch using UI Routes.

altText of the image

API Routes

Expose endpoints in your Medusa application with API Routes, allowing you to listen to webhooks, run custom logic, and more.

Link Modules

new feature

Connect two or more modules through remote joiners, for users to query information from multiple modules in one request.

Long Running Workflows

new feature

Orchestrate and automate actions across multiple systems like ERP, PIM, or CMS with built-in retries and rollbacks.

altText of the image

Cron Jobs

Perform scheduled jobs to automate repetitive work on a recurring basis.

Custom modules

new feature

Add own custom modules to your commerce stack and easily set up your own data models to support them.

Index Engine

(Coming in later version)

Make fast queries with optimized data retrieval across third-party tools, custom modules, and existing Medusa modules.

Build any commerce customization with our framework.

  • Sync product data from PIM

  • Create advanced analytics dashboards

  • Build a multi-vendor marketplace

  • Add product extensions

  • Add endpoints to custom data models

  • Manage complex storefront queries

  • Integrate with supplier systems

  • Listen to webhooks of third-party tools

  • Create a custom auction module

  • Automate audits and reports

Real-time sync with ERP

Synchronize your ERP and Medusa using Workflows, Subscribers, and API Routes.

  • Use subscribers to trigger a workflow when an order is placed.

  • Set up a workflow to fetch data and post it in the ERP.

  • Create API Route listening to the ERP webhook for updates on order status.

altText of the image

Support subscriptions

Build the customizations needed to run a subscription business.

  • Create a custom data model for subscription info.

  • Use cron jobs to check for daily subscription renewals.

  • Implement a subscription overview in the Admin using UI Routes.

altText of the image

Synchronize ads audiences

Send customer data to Meta Ads, Google Ads, Mailchimp, and more.

  • Listen to customer events using subscribers.

  • Build a custom service to transform data to fit audience destinations.

  • Set up a workflow to push audience data automatically to each channel.

altText of the image
icon

Get Started

Copy the command and get started with Medusa in 3 mins.