1 /** @type {import('types').Sidebar.SidebarItem[]} */
2 export const orderSidebar = [
3 {
4 type: "sidebar",
5 sidebar_id: "order",
6 title: "Order Module",
7 children: [
8 {
9 type: "link",
10 path: "/commerce-modules/order",
11 title: "Overview",
12 },
13 {
14 type: "separator",
15 },
16 {
17 type: "category",
18 title: "Concepts",
19 children: [
20 {
21 type: "link",
22 path: "/commerce-modules/order/concepts",
23 title: "Order Concepts",
24 },
25 {
26 type: "link",
27 path: "/commerce-modules/order/custom-display-id",
28 title: "Custom Order Display ID",
29 },
30 {
31 type: "link",
32 path: "/commerce-modules/order/promotion-adjustments",
33 title: "Promotions Adjustments",
34 },
35 {
36 type: "link",
37 path: "/commerce-modules/order/tax-lines",
38 title: "Tax Lines",
39 },
40 {
41 type: "link",
42 path: "/commerce-modules/order/transactions",
43 title: "Transactions",
44 },
45 {
46 type: "link",
47 path: "/commerce-modules/order/order-versioning",
48 title: "Order Versioning",
49 },
50 {
51 type: "link",
52 path: "/commerce-modules/order/draft-orders",
53 title: "Draft Orders",
54 },
55 {
56 type: "link",
57 path: "/commerce-modules/order/return",
58 title: "Return",
59 },
60 {
61 type: "link",
62 path: "/commerce-modules/order/exchange",
63 title: "Exchange",
64 },
65 {
66 type: "link",
67 path: "/commerce-modules/order/claim",
68 title: "Claim",
69 },
70 {
71 type: "link",
72 path: "/commerce-modules/order/edit",
73 title: "Order Edit",
74 },
75 {
76 type: "link",
77 path: "/commerce-modules/order/order-change",
78 title: "Order Change",
79 },
80 {
81 type: "link",
82 path: "/commerce-modules/order/transfer-to-guest",
83 title: "Transfer Order to Guest",
84 },
85 {
86 type: "link",
87 path: "/commerce-modules/order/links-to-other-modules",
88 title: "Links to Other Modules",
89 },
90 ],
91 },
92 {
93 type: "category",
94 title: "Server Guides",
95 autogenerate_tags: "order+server",
96 autogenerate_as_ref: true,
97 sort_sidebar: "alphabetize",
98 description:
99 "Learn how to use the Order Module in your customizations on the Medusa application server.",
100 children: [
101 {
102 type: "link",
103 path: "/commerce-modules/order/order-totals",
104 title: "Retrieve Order Totals",
105 },
106 ],
107 },
108 {
109 type: "category",
110 title: "Storefront Guides",
111 autogenerate_tags: "storefront+order,-jsSdk",
112 autogenerate_as_ref: true,
113 sort_sidebar: "alphabetize",
114 description:
115 "Learn how to integrate the Order Module's features into your storefront.",
116 },
117 {
118 type: "category",
119 title: "Admin Guides",
120 autogenerate_tags: "admin+order,-jsSdk",
121 autogenerate_as_ref: true,
122 sort_sidebar: "alphabetize",
123 description:
124 "Learn how to utilize administative features of the Order Module.",
125 },
126 {
127 type: "category",
128 title: "Admin User Guides",
129 autogenerate_tags: "userGuide+order",
130 autogenerate_as_ref: true,
131 sort_sidebar: "alphabetize",
132 description:
133 "Learn how to utilize and manage Order features in the Medusa Admin dashboard.",
134 },
135 {
136 type: "category",
137 title: "References",
138 description:
139 "Find references for tools and resources related to the Order Module, such as data models, methods, and more. These are useful for your customizations.",
140 children: [
141 {
142 type: "link",
143 path: "/commerce-modules/order/workflows",
144 title: "Workflows",
145 hideChildren: true,
146 children: [
147 {
148 type: "category",
149 title: "Workflows",
150 autogenerate_tags: "workflow+order",
151 autogenerate_as_ref: true,
152 sort_sidebar: "alphabetize",
153 },
154 {
155 type: "category",
156 title: "Steps",
157 autogenerate_tags: "step+order",
158 autogenerate_as_ref: true,
159 sort_sidebar: "alphabetize",
160 },
161 ],
162 },
163 {
164 type: "link",
165 path: "/commerce-modules/order/js-sdk",
166 title: "JS SDK",
167 hideChildren: true,
168 children: [
169 {
170 type: "sub-category",
171 title: "Store",
172 autogenerate_tags: "jsSdk+storefront+order",
173 description:
174 "The following methods or properties are used to send requests to Store API Routes related to the Order Module.",
175 autogenerate_as_ref: true,
176 sort_sidebar: "alphabetize",
177 },
178 {
179 type: "sub-category",
180 title: "Admin",
181 autogenerate_tags: "jsSdk+admin+order",
182 description:
183 "The following methods or properties are used to send requests to Admin API Routes related to the Order Module.",
184 autogenerate_as_ref: true,
185 sort_sidebar: "alphabetize",
186 },
187 ],
188 },
189 {
190 type: "link",
191 path: "/references/order/events",
192 title: "Events Reference",
193 },
194 {
195 type: "link",
196 path: "/commerce-modules/order/admin-widget-zones",
197 title: "Admin Widget Zones",
198 },
199 {
200 type: "sidebar",
201 sidebar_id: "order-service-reference",
202 title: "Main Service Reference",
203 childSidebarTitle: "Order Module's Main Service Reference",
204 children: [
205 {
206 type: "link",
207 path: "/references/order",
208 title: "Reference Overview",
209 },
210 {
211 type: "separator",
212 },
213 {
214 type: "category",
215 title: "Methods",
216 autogenerate_path:
217 "/references/order/IOrderModuleService/methods",
218 },
219 ],
220 },
221 {
222 type: "sidebar",
223 sidebar_id: "order-models-reference",
224 title: "Data Models Reference",
225 childSidebarTitle: "Order Module Data Models Reference",
226 children: [
227 {
228 type: "link",
229 path: "/references/order/models",
230 title: "Reference Overview",
231 },
232 {
233 type: "separator",
234 },
235 {
236 type: "category",
237 title: "Data Models",
238 hasTitleStyling: true,
239 autogenerate_path: "/references/order_models/variables",
240 },
241 ],
242 },
243 ],
244 },
245 ],
246 },
247 ]