The Product module is the
@medusajs/product NPM package that provides product-related features in your Medusa and Node.js applications. It can be used to store products with variants, organize them into categories and collections, and more.
With the Product module, you can store products and manage them through the main interface methods. Products can have custom options, such as color or size, and each variant in the product sets the value for these options.
The Product module provides different entities that can be used to organize products, including categories, collections, tags, and more.
How to Use the Product Module
The Product Module can be used in many use cases, including:
- Medusa Backend: The Medusa backend uses the product module to implement some product features. However, it's guarded by the experimental feature flag. If you want to use the product module in your backend's customizations, follow this installation guide.
- Serverless Application: Use the Product Module in a serverless application, such as a Next.js application, without having to manage a fully-fledged ecommerce system. You can use it by installing it in your Node.js project as an NPM package.
- Node.js Application: Use the Product Module in any Node.js application. Follow this guide to learn how to install it.
Find examples of common usages of the module's interface.