Customer Module

CUSTOMER MODULE

Cater your commerce to all customers

Serve all customer types, from B2C customers with self-serve options to B2B accounts and customer groups with special product and pricing configurations. All configurable directly from your admin.

icon

Overview

Easily manage individual customers and groups

Overview your customers, set up customer groups, and manage their orders from the admin. Set up custom access levels and permission.

Customer overview

Manage all your customers directly from the Medusa Admin, and swiftly make bulk customer imports and exports.

altText of the image

Advanced customer accounts

View and modify customer profiles and order details from the Medusa Admin.

altText of the image

B2B, VIPs, and other customer groups

Create custom pricing and product rules for customer groups to handle B2B customers, VIP customers, and more.

altText of the image

RBAC and permissions

Set up role-based access control to give customers different permissions or guard access to certain products or prices.

altText of the image

Customer login and authentication

Use the Authentication Module to let customers sign in with Google, SAML, or social logins.

altText of the image
icon

User Story

B2B customer profiles.
A case about Catalog.

Learn how Catalog added an Organization ID to their B2B customers to give them different product and price list access.

Read Story
icon

Customize Everything

Flexible customer model

Customize and extend the entire Customer Module or set up custom workflows to fit your needs. Make customizations accessible for store operators with Widgets in the admin.

Easily modify your customer profile page

Use Widgets and the Medusa UI library to inject native-looking custom functionality into the Medusa Admin pages.

altText of the image

Build custom logic using workflows

Use workflows to craft personalized customer experiences, for instance, set up a workflow to synchronize customer groups with Meta, Google, Klaviyo, and more.

altText of the image
icon

Use in your Next.js project

The Customer Module works with the Next.js Starter Template. The template allows you to build a custom Next.js storefront connected to Medusa’s backend modules.

Customize the Customer Module

The Customer Module is fully customizable. Extend the Customer data model with Links to add custom attributes, and implement bespoke logic around them.

altText of the image

Part of a pluggable architecture

Our framework lets you orchestrate your commerce stack as you prefer. Integrate your favorite tools or replace the Medusa modules with third-party systems without full data migrations or syncs.

altText of the image
icon

Features

Core customer logic for your commerce setup

Features to serve any customer type and extendable to fit your specific needs.

Core customer features

  • Access and modify customers in the admin

  • View customer's order history

  • Set up customer login and authentication

  • Create your own customer groups

  • Import and export of customer lists

  • RBAC and permissions

  • Support DTC and B2B customer handling

  • Included in the Next.js starter

  • Link B2B customers to company accounts

Connect and customize

  • Customize data model and link to other modules

  • Add Widgets to the customer admin page

  • Import customer profiles via batch jobs

  • Rip and replace with your own custom system

  • Sync with marketing tools using Workflows

  • Works with all Medusa modules

  • Use standalone with your own systems

  • Use Workflows to connect with third-party systems

  • Ships as a standalone npm package

Ready to build your custom commerce setup?