GMI Software
Core areas
Mobile Apps
iOS, Android, React Native
Headless & B2B commerce
Stores, sales platforms, ERP/PIM integrations
AI & Automation
Agents and LLM implementations
Complementary services
E-commerce mobile analyticsProduct Discovery & DesignBackend, API & IntegrationsMaintenance & AuditsDDT process
Don't know what to choose? Order a consultation
Our projects
Case studies and references
App Ideas Library
Use case examples
MobileCore Stack
React Native
E-commerceCore Stack
Service: commerce & B2BAdvanced commerceMedusaJS
Frontend & QA
Next.jsReactTypeScriptPlaywrightMaestro
Backend, DB & Cloud
Node.jsNestJSPostgreSQLDockerAWS
E-commerce Innovation
3D configurators (BabylonJS)AI agents & automationRAG & knowledge basesAI-native software companyView all AI services
View all technologies
About us
Our history and values
Careers
Join our team
Contact
Get in touch
Get in touch
Services
Core areas
Mobile Apps
iOS, Android, React Native
Headless & B2B commerce
Stores, sales platforms, ERP/PIM integrations
AI & Automation
Agents and LLM implementations
Complementary services
E-commerce mobile analyticsProduct Discovery & DesignBackend, API & IntegrationsMaintenance & AuditsDDT process
Don't know what to choose? Order a consultation
Projects
Our projects
Case studies and references
App Ideas Library
Use case examples
Technologies
MobileCore Stack
React Native
E-commerceCore Stack
Service: commerce & B2BAdvanced commerceMedusaJS
Frontend & QA
Next.jsReactTypeScriptPlaywrightMaestro
Backend, DB & Cloud
Node.jsNestJSPostgreSQLDockerAWS
E-commerce Innovation
3D configurators (BabylonJS)AI agents & automationRAG & knowledge basesAI-native software companyView all AI services
View all technologies
Company
About us
Our history and values
Careers
Join our team
Contact
Get in touch
Get in touch
Back to blog
E-commerce
Updated: July 11, 2026
18 min read

MedusaJS B2B e-commerce guide 2026

Mikołaj Lehman, CEO & Founder
Mikołaj Lehman
CEO & Founder

MedusaJS v2 is an open-source B2B e-commerce platform with modular Node.js architecture - GMI Software from Gdansk delivers contract pricing, credit limits and ERP integrations in EUR 55,000 - 120,000 projects (typical B2B scope with data migration). After discovery (DDT) we share fixed price and a migration roadmap within 48h.

What Medusa v2 offers for B2B (and what it does not do alone)

Medusa v2 is a commerce layer, not an ERP replacement. The platform gives you pricing, customer, cart, order and workflow modules that you use to build per-customer price lists, customer groups, B2B cart, custom checkout and integrations. MOQ, credit limits and order approval are usually domain logic in the implementation, not checkboxes without discovery.

Typical B2B needs two data layers: Medusa holds catalog, cart, checkout and commercial rules required by sales channels; ERP (SAP, Comarch, Microsoft Dynamics, custom WMS) stays the source of truth for invoices, stock and credit limits. GMI designs event-driven sync to avoid price drift across channels.

The B2B storefront is usually Next.js with company login, per-account price views, multi-line carts and order history. The same Medusa Admin API can power a React Native app for field sales.

What most Medusa B2B guides miss

Many guides show catalog, cart and checkout. That is a useful start, but real B2B starts where D2C ends: multiple buyer roles, department budgets, credit limits, contract price lists, invoices, split deliveries, partial fulfilment and manual sales-team decisions.

The biggest risk is not the Next.js storefront itself. It is who can change price, which system approves credit, how fast ERP returns stock and what happens to an order when one vendor or warehouse cannot confirm availability.

That is why GMI treats Medusa B2B as operating architecture, not a “launch a store” project. In discovery we split decisions into three layers: buyer experience, commerce logic in Medusa and source of truth in ERP/PIM/WMS.

Core B2B modules to plan in discovery

Contract pricing: price lists tied to customer groups or individual B2B accounts, often with validity dates and per-market currency. Credit limits: block checkout when balance is exceeded or require prepayment for new accounts.

Approval workflows: a manager approves orders above a threshold before they hit ERP. Reorder and quick order: last-SKU lists per customer shorten purchase cycles in wholesale and distribution.

Integrations: product sync from PIM, stock from warehouse, shipment confirmations from WMS, pro forma invoices from ERP. In discovery we map which events are real-time versus nightly batch - that drives cost and SLA.

Reference architecture: what Medusa owns and what ERP owns

The safest B2B model is explicit ownership. Medusa should not duplicate the whole ERP, and ERP should not control every storefront click. The integration needs contracts, queues, retries and monitoring because B2B pricing errors cost more than UI defects.

  • Medusa: sales catalog, cart, checkout, price lists, promotions, customer accounts, sales channels and API for Next.js / React Native.
  • ERP/PIM/WMS: product master data, invoices, inventory, credit limits, payment terms, fulfilment and accounting.
  • Integration layer: SKU mapping, price and stock sync, webhooks/events, queues, idempotency, alerts and manual replay of failed events.
  • Operations panel: order status, credit holds, checkout exceptions, manual approvals and sales-rep view.
Article graphic: MedusaJS B2B e-commerce guide 2026
Article graphic: MedusaJS B2B e-commerce guide 2026

Medusa B2B vs Magento monolith / SaaS

Choose Medusa v2 when: you have complex per-customer pricing, need headless (web + app + maybe POS), want code ownership and no GMV fees, and your team or partner knows JavaScript/TypeScript.

Stay on SaaS (Shopify Plus, BigCommerce B2B) when: the catalog is simple, ERP integrations are standard, and fastest year-one go-live matters more than owning the stack.

Migrate from Magento 2 B2B when: license and maintenance cost grows, storefront performance drops on large catalogs, and mobile/omnichannel need separate engines. GMI typically migrates catalog, B2B customers and order history in phase 2 after checkout MVP.

Budget, timeline and delivery model

GMI ranges for Medusa B2B with ERP and migration: EUR 55,000 - 120,000 fixed price after DDT (1-3 week discovery). MVP checkout + contract pricing: 3-5 months. Full programme with migration and multiple integrations: 5-9 months.

Reference team: Medusa tech lead, 2 backend devs, Next.js frontend, QA and client-side product owner. 2-week sprints with demos, internal code review, architecture docs in English.

Post go-live we recommend a maintenance retainer (Medusa updates, monitoring, peak-season B2B support). Broader headless commerce context lives on our headless e-commerce page.

Common mistakes in Medusa B2B projects

The first mistake is copying the monolith 1:1. If Magento or ERP has ten years of commercial exceptions, not every exception belongs in the MVP. Some rules must be named, some removed and some left in ERP as a manual phase-two process.

The second mistake is “real-time everything”. Prices and checkout availability often need fresh data, but invoices, reports and parts of order history can run in batch. A good B2B architecture separates cart-critical data from reporting data.

The third mistake is no post-go-live plan. Medusa is open source and flexible, but it still needs maintenance: updates, monitoring, regression tests, peak support, integration checks and a business-change roadmap.

Pre-kickoff checklist for Medusa B2B

Without answers, B2B quoting is guessing. GMI DDT ends with a phased roadmap, fixed-price ranges and an integration risk list - not generic slides.

  1. Where is the source of truth for prices and stock?
  2. Which B2B customer groups and credit rules?
  3. Do orders need manager approval?
  4. Which systems integrate (ERP, PIM, WMS, deferred payments)?
  5. Migrate order history or active customers only?
  6. Business deadline (season, legacy decommission)?

Next step: B2B discovery

If you have an ERP + Medusa architecture sketch and B2B commercial rules list, contact GMI - you will get initial scope and budget ranges within 48h. A full fixed-price offer requires a DDT workshop with business and IT.

MedusaJS development: https://gmi.software/services/medusajs-development

Sources and references

MedusaJS v2 B2B documentation: https://docs.medusajs.com

Medusa price lists and customer groups: https://docs.medusajs.com/resources/commerce-modules/pricing

Medusa Customer Module: https://docs.medusajs.com/resources/commerce-modules/customer

Medusa Cart Module: https://docs.medusajs.com/resources/commerce-modules/cart

Medusa integrations and ERP recipe: https://docs.medusajs.com/resources/integrations

Medusa marketplace recipe: https://docs.medusajs.com/resources/recipes/marketplace

Shopify Plus B2B platform page: https://www.shopify.com/plus/solutions/b2b-ecommerce

Adobe Commerce B2B commerce optimization: https://business.adobe.com/products/commerce/b2b-commerce-optimization.html

GMI MedusaJS development: https://gmi.software/services/medusajs-development

GMI headless e-commerce: https://gmi.software/services/headless-ecommerce

Frequently asked questions

Does Medusa replace ERP?
No - Medusa is the commerce layer (catalog, cart, checkout, B2B rules). ERP stays finance/WMS; we sync prices, stock, orders and credit limits via API or events.
How long does Medusa B2B delivery take?
MVP with contract pricing and checkout: 3-5 months. Programme with ERP, data migration and multiple integrations: 5-9 months. Discovery before kickoff reduces schedule slip risk.
Does Medusa B2B support marketplaces?
Yes - Medusa v2 has modules for split checkout and multiple sellers. In B2B marketplaces we often combine wholesale rules per vendor with central invoicing and operator-side ERP integration.
Fixed price or T&M for B2B?
After DDT we recommend fixed price on agreed scope - predictable budget for the CTO on complex ERP integrations. T&M stays for discovery or when the client wants a flexible backlog without frozen scope.

Related reading

  • MedusaJS development

    Implementations, migrations and Medusa v2 teams for international clients.

  • Headless e-commerce

    B2B, ERP, omnichannel and Next.js storefront.

  • MedusaJS 2.0

    Technology expertise and platform comparison.

Content updated: July 11, 2026

Share article:

Related articles

E-commerce

MedusaJS + Next.js for B2B storefronts: architecture, cost and risks

A practical guide to B2B storefronts: MedusaJS v2 as commerce core, Next.js as the buying portal, customer groups, price lists, sales channels, ERP/PIM and implementation cost.

E-commerce

Medusa vs Shopify Plus: headless e-commerce TCO in 2026

A practical 3-year TCO comparison: licenses, apps, GMV, run cost, ERP and B2B workflows. When Shopify Plus speeds up launch, and when MedusaJS v2 protects margin and stack ownership.

Contact

Let's talk
about the project.

Have an app idea or need technological support? Write to us — we'll prepare a preliminary analysis and estimate within 48h. Projects that go through our DDT process (Discovery, Design & Technology) come with a price guarantee and a fixed-price agreement — a key differentiator for us.

Write to us[email protected]
Visit us
GD
gmi.software Sp. z o.o.ul. Jana Heweliusza 11 / 819
80-890 Gdansk, Poland
NIP: 5252816287KRS: 0000830003
gmi.
ServicesOur projectsBlogBrief assistantContact
LIFAINGI
Mobile Trends Awards 2025 nomination - SFD app
© 2026 gmi.software Sp. z o.o.
Privacy PolicyTerms