Skills / Engineering / Medusa Commerce Backend

Medusa Commerce Backend

Build headless commerce backends with Medusa. Covers custom modules, API routes, workflows, subscribers and events, product and cart logic, plugins, and admin extensions for fully customizable Node.js storefront backends.

This skill helps you extend and ship Medusa commerce backends. It scaffolds custom modules and services, adds API routes and admin widgets, composes durable workflows with compensation steps, wires event subscribers, models products, carts and orders, and integrates payment and fulfillment providers on a TypeScript-first architecture.

medusa commerce headless nodejs backend

When to use

Use when building or customizing a Medusa commerce backend — custom modules, API routes, workflows, event subscribers, product/cart/order logic, plugins, or admin extensions.

Examples

Custom module

Add domain logic

Create a Medusa custom module for a loyalty-points system with a service, data model, and an API route to award and redeem points

Order workflow

Durable multi-step flow

Build a Medusa workflow that reserves inventory, charges payment, and emits an order.completed event with a compensation step if payment fails
Added to wishlist