E-commerceHigh Complexity
Commerce
Derived from Medusa MIT · 25.9k stars
Modular commerce engine with products, orders, fulfillment, and promotions — extracted from Medusa.
45Entities
167Blueprint Nodes
245Edges
4User Roles
16Workflows
32API Endpoints
10Guard Rules
18Integrations
Data Model
Entity Explorer
Process Flows
Key Workflows
Checkout Flow
Add to Cart→
Apply Discount→
Select Shipping→
Payment→
Order Confirmed→
Fulfillment
Return & Refund
Customer Requests Return→
Approve Return→
Receive Items→
Inspect Quality→
Issue Refund
Guard Conditions
Business Rules
- 1Carts cannot be completed without a valid payment method
- 2Orders cannot be fulfilled if inventory is insufficient
- 3Discounts cannot stack unless explicitly allowed by rule
- 4Refunds cannot exceed original payment amount
Adaptation Guide
Common Customizations
Subscription billing module with recurring orders
Multi-warehouse fulfillment routing
Remove gift card module for digital-only stores
Disable swap (exchange) functionality
Tech Stack
Next.jsNode.jsPostgreSQLRedisStripe