Customer Module
The Customer Module is the @medusajs/medusa/customer
NPM package that provides customer-related features in your Medusa and Node.js applications.
How to Use Customer Module's Service#
You can use the Customer Module's main service by resolving from the Medusa container the resource Modules.CUSTOMER
imported from @medusajs/framework/utils
.
For example:
Features#
Customer Management#
With the Customer Module, store and manage customers in your store.
Customer Organization#
You can organize customers into groups. This has a lot of benefits and supports more use cases, such as provide discounts for specific customer groups using the Promotion Module.
Was this page helpful?