|
1
|
import { CardList, Card } from "docs-ui" |
|
2
|
|
|
3
|
export const metadata = { |
|
4
|
title: `Commerce Modules`, |
|
5
|
} |
|
6
|
|
|
7
|
# {metadata.title} |
|
8
|
|
|
9
|
In this section of the documentation, you'll find guides and references related to Medusa's Commerce Modules. |
|
10
|
|
|
11
|
A Commerce Module provides features for a commerce domain within its service. When you install the Medusa application, all Commerce Modules are available out-of-the-box. The Medusa application exposes their features in its core API routes to clients. |
|
12
|
|
|
13
|
A Commerce Module also defines data models, representing tables in the database. The Medusa Framework and tools allow you to extend these data models to add custom fields. |
|
14
|
|
|
15
|
## Commerce Modules List |
|
16
|
|
|
17
|
<CardList |
|
18
|
items={[ |
|
19
|
{ |
|
20
|
title: "API Key Module", |
|
21
|
href: "/commerce-modules/api-key" |
|
22
|
}, |
|
23
|
{ |
|
24
|
title: "Auth Module", |
|
25
|
href: "/commerce-modules/auth" |
|
26
|
}, |
|
27
|
{ |
|
28
|
title: "Cart Module", |
|
29
|
href: "/commerce-modules/cart" |
|
30
|
}, |
|
31
|
{ |
|
32
|
title: "Currency Module", |
|
33
|
href: "/commerce-modules/currency" |
|
34
|
}, |
|
35
|
{ |
|
36
|
title: "Customer Module", |
|
37
|
href: "/commerce-modules/customer" |
|
38
|
}, |
|
39
|
{ |
|
40
|
title: "Fulfillment Module", |
|
41
|
href: "/commerce-modules/fulfillment" |
|
42
|
}, |
|
43
|
{ |
|
44
|
title: "Inventory Module", |
|
45
|
href: "/commerce-modules/inventory" |
|
46
|
}, |
|
47
|
{ |
|
48
|
title: "Loyalty Module", |
|
49
|
href: "/commerce-modules/loyalty", |
|
50
|
badge: { |
|
51
|
children: "Plugin", |
|
52
|
variant: "orange" |
|
53
|
} |
|
54
|
}, |
|
55
|
{ |
|
56
|
title: "Order Module", |
|
57
|
href: "/commerce-modules/order" |
|
58
|
}, |
|
59
|
{ |
|
60
|
title: "Payment Module", |
|
61
|
href: "/commerce-modules/payment" |
|
62
|
}, |
|
63
|
{ |
|
64
|
title: "Pricing Module", |
|
65
|
href: "/commerce-modules/pricing" |
|
66
|
}, |
|
67
|
{ |
|
68
|
title: "Product Module", |
|
69
|
href: "/commerce-modules/product" |
|
70
|
}, |
|
71
|
{ |
|
72
|
title: "Promotion Module", |
|
73
|
href: "/commerce-modules/promotion" |
|
74
|
}, |
|
75
|
{ |
|
76
|
title: "Region Module", |
|
77
|
href: "/commerce-modules/region" |
|
78
|
}, |
|
79
|
{ |
|
80
|
title: "Sales Channel Module", |
|
81
|
href: "/commerce-modules/sales-channel" |
|
82
|
}, |
|
83
|
{ |
|
84
|
title: "Settings Module", |
|
85
|
href: "/commerce-modules/settings" |
|
86
|
}, |
|
87
|
{ |
|
88
|
title: "Stock Location Module", |
|
89
|
href: "/commerce-modules/stock-location" |
|
90
|
}, |
|
91
|
{ |
|
92
|
title: "Store Module", |
|
93
|
href: "/commerce-modules/store" |
|
94
|
}, |
|
95
|
{ |
|
96
|
title: "Store Credit Module", |
|
97
|
href: "/commerce-modules/store-credit", |
|
98
|
badge: { |
|
99
|
children: "Plugin", |
|
100
|
variant: "orange" |
|
101
|
} |
|
102
|
}, |
|
103
|
{ |
|
104
|
title: "Tax Module", |
|
105
|
href: "/commerce-modules/tax" |
|
106
|
}, |
|
107
|
{ |
|
108
|
title: "Translation Module", |
|
109
|
href: "/commerce-modules/translation", |
|
110
|
badge: { |
|
111
|
children: "Beta", |
|
112
|
variant: "blue" |
|
113
|
} |
|
114
|
}, |
|
115
|
{ |
|
116
|
title: "User Module", |
|
117
|
href: "/commerce-modules/user" |
|
118
|
}, |
|
119
|
]} |
|
120
|
/> |
|
121
|
|
|
122
|
{/* <Card |
|
123
|
title="User Module" |
|
124
|
href="/commerce-modules/user" |
|
125
|
className="my-1" |
|
126
|
/> */} |
|
127
|
|
|
128
|
--- |
|
129
|
|
|
130
|
## How to Use Modules |
|
131
|
|
|
132
|
The Commerce Modules can be used in many use cases, including: |
|
133
|
|
|
134
|
- Medusa Application: The Medusa application comes with all Commerce Modules pre-installed and configured. Their commerce features are exposed through REST APIs. |
|
135
|
- Serverless Application: Use the Commerce Modules 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. |
|
136
|
- Node.js Application: Use the Commerce Modules in any Node.js application by installing it with NPM. |