Raw
1 export const generatedSidebars = [
2 {
3 "sidebar_id": "docs",
4 "title": "Get Started",
5 "items": [
6 {
7 "loaded": true,
8 "type": "category",
9 "title": "1. Getting Started",
10 "children": [
11 {
12 "loaded": true,
13 "type": "link",
14 "path": "/learn",
15 "title": "Introduction",
16 "children": [],
17 "chapterTitle": "1.1. Introduction",
18 "number": "1.1."
19 },
20 {
21 "loaded": true,
22 "type": "link",
23 "path": "/learn/installation",
24 "title": "Installation",
25 "children": [
26 {
27 "loaded": true,
28 "type": "link",
29 "path": "/learn/installation/docker",
30 "title": "Install with Docker",
31 "children": [],
32 "chapterTitle": "1.2.1. Install with Docker",
33 "number": "1.2.1."
34 }
35 ],
36 "chapterTitle": "1.2. Installation",
37 "number": "1.2."
38 },
39 {
40 "loaded": true,
41 "type": "link",
42 "title": "Architecture",
43 "path": "/learn/introduction/architecture",
44 "children": [],
45 "chapterTitle": "1.3. Architecture",
46 "number": "1.3."
47 }
48 ],
49 "chapterTitle": "1. Getting Started",
50 "number": "1."
51 },
52 {
53 "loaded": true,
54 "type": "category",
55 "title": "2. Agentic Development",
56 "children": [
57 {
58 "loaded": true,
59 "type": "link",
60 "title": "Overview",
61 "path": "/learn/introduction/build-with-llms-ai",
62 "children": [],
63 "chapterTitle": "2.1. Overview",
64 "number": "2.1."
65 },
66 {
67 "loaded": true,
68 "type": "link",
69 "title": "Cloud CLI",
70 "path": "/learn/introduction/build-with-llms-ai/cloud-cli",
71 "children": [],
72 "chapterTitle": "2.2. Cloud CLI",
73 "number": "2.2."
74 },
75 {
76 "loaded": true,
77 "type": "link",
78 "title": "Manage Store with Agents",
79 "path": "/learn/introduction/build-with-llms-ai/manage-store-with-agents",
80 "children": [],
81 "chapterTitle": "2.3. Manage Store with Agents",
82 "number": "2.3."
83 },
84 {
85 "loaded": true,
86 "type": "link",
87 "title": "Docs MCP Server",
88 "path": "/learn/introduction/build-with-llms-ai/docs-mcp-server",
89 "children": [
90 {
91 "loaded": true,
92 "type": "link",
93 "title": "Ask Medusa Questions",
94 "path": "/learn/introduction/build-with-llms-ai/docs-mcp-server/ask-medusa-question",
95 "description": "Answer Medusa questions from the official documentation.",
96 "children": [],
97 "chapterTitle": "2.4.1. Ask Medusa Questions",
98 "number": "2.4.1."
99 },
100 {
101 "loaded": true,
102 "type": "link",
103 "title": "Migrate from Shopify",
104 "path": "/learn/introduction/build-with-llms-ai/docs-mcp-server/migrate-from-shopify",
105 "description": "Migrate your store's data from Shopify to Medusa.",
106 "children": [],
107 "chapterTitle": "2.4.2. Migrate from Shopify",
108 "number": "2.4.2."
109 },
110 {
111 "loaded": true,
112 "type": "link",
113 "title": "Migrate from WooCommerce",
114 "path": "/learn/introduction/build-with-llms-ai/docs-mcp-server/migrate-from-woocommerce",
115 "description": "Migrate your store's data from WooCommerce to Medusa.",
116 "children": [],
117 "chapterTitle": "2.4.3. Migrate from WooCommerce",
118 "number": "2.4.3."
119 },
120 {
121 "loaded": true,
122 "type": "link",
123 "title": "Migrate from Magento",
124 "path": "/learn/introduction/build-with-llms-ai/docs-mcp-server/migrate-from-magento",
125 "description": "Migrate your store's data from Magento to Medusa.",
126 "children": [],
127 "chapterTitle": "2.4.4. Migrate from Magento",
128 "number": "2.4.4."
129 },
130 {
131 "loaded": true,
132 "type": "link",
133 "title": "Integrate Providers",
134 "path": "/learn/introduction/build-with-llms-ai/docs-mcp-server/integrate-providers",
135 "description": "Build payment and fulfillment module providers for third-party services.",
136 "children": [],
137 "chapterTitle": "2.4.5. Integrate Providers",
138 "number": "2.4.5."
139 },
140 {
141 "loaded": true,
142 "type": "link",
143 "title": "Extend Products",
144 "path": "/learn/introduction/build-with-llms-ai/docs-mcp-server/extend-products",
145 "description": "Attach custom data and features to products, variants, and options.",
146 "children": [],
147 "chapterTitle": "2.4.6. Extend Products",
148 "number": "2.4.6."
149 },
150 {
151 "loaded": true,
152 "type": "link",
153 "title": "Upgrade Medusa",
154 "path": "/learn/introduction/build-with-llms-ai/docs-mcp-server/upgrade-instructions",
155 "description": "Upgrade a Medusa project to a newer version, breaking changes included.",
156 "children": [],
157 "chapterTitle": "2.4.7. Upgrade Medusa",
158 "number": "2.4.7."
159 },
160 {
161 "loaded": true,
162 "type": "link",
163 "title": "Submit Feedback",
164 "path": "/learn/introduction/build-with-llms-ai/docs-mcp-server/submit-feedback",
165 "description": "Send documentation, bug, and feedback to the Medusa team.",
166 "children": [],
167 "chapterTitle": "2.4.8. Submit Feedback",
168 "number": "2.4.8."
169 }
170 ],
171 "chapterTitle": "2.4. Docs MCP Server",
172 "number": "2.4."
173 },
174 {
175 "loaded": true,
176 "type": "link",
177 "title": "Agentic Skills",
178 "path": "/learn/introduction/build-with-llms-ai/agentic-skills",
179 "children": [],
180 "chapterTitle": "2.5. Agentic Skills",
181 "number": "2.5."
182 },
183 {
184 "loaded": true,
185 "type": "link",
186 "title": "AI-Friendly Docs",
187 "path": "/learn/introduction/build-with-llms-ai/ai-friendly-docs",
188 "children": [],
189 "chapterTitle": "2.6. AI-Friendly Docs",
190 "number": "2.6."
191 }
192 ],
193 "chapterTitle": "2. Agentic Development",
194 "number": "2."
195 },
196 {
197 "loaded": true,
198 "type": "category",
199 "title": "3. Customization Tutorial",
200 "children": [
201 {
202 "loaded": true,
203 "type": "link",
204 "title": "Build Custom Features",
205 "path": "/learn/customization/custom-features",
206 "children": [
207 {
208 "loaded": true,
209 "type": "link",
210 "title": "Brand Module",
211 "path": "/learn/customization/custom-features/module",
212 "children": [],
213 "chapterTitle": "3.1.1. Brand Module",
214 "number": "3.1.1."
215 },
216 {
217 "loaded": true,
218 "type": "link",
219 "title": "Brand Workflow",
220 "path": "/learn/customization/custom-features/workflow",
221 "children": [],
222 "chapterTitle": "3.1.2. Brand Workflow",
223 "number": "3.1.2."
224 },
225 {
226 "loaded": true,
227 "type": "link",
228 "title": "Brand API Route",
229 "path": "/learn/customization/custom-features/api-route",
230 "children": [],
231 "chapterTitle": "3.1.3. Brand API Route",
232 "number": "3.1.3."
233 }
234 ],
235 "chapterTitle": "3.1. Build Custom Features",
236 "number": "3.1."
237 },
238 {
239 "loaded": true,
240 "type": "link",
241 "title": "Extend Features",
242 "path": "/learn/customization/extend-features",
243 "children": [
244 {
245 "loaded": true,
246 "type": "link",
247 "title": "Link Brands and Products",
248 "path": "/learn/customization/extend-features/define-link",
249 "children": [],
250 "chapterTitle": "3.2.1. Link Brands and Products",
251 "number": "3.2.1."
252 },
253 {
254 "loaded": true,
255 "type": "link",
256 "title": "Extend Core Flow",
257 "path": "/learn/customization/extend-features/extend-create-product",
258 "children": [],
259 "chapterTitle": "3.2.2. Extend Core Flow",
260 "number": "3.2.2."
261 },
262 {
263 "loaded": true,
264 "type": "link",
265 "title": "Query Linked Records",
266 "path": "/learn/customization/extend-features/query-linked-records",
267 "children": [],
268 "chapterTitle": "3.2.3. Query Linked Records",
269 "number": "3.2.3."
270 }
271 ],
272 "chapterTitle": "3.2. Extend Features",
273 "number": "3.2."
274 },
275 {
276 "loaded": true,
277 "type": "link",
278 "title": "Customize Admin",
279 "path": "/learn/customization/customize-admin",
280 "children": [
281 {
282 "loaded": true,
283 "type": "link",
284 "title": "Add Widget",
285 "path": "/learn/customization/customize-admin/widget",
286 "children": [],
287 "chapterTitle": "3.3.1. Add Widget",
288 "number": "3.3.1."
289 },
290 {
291 "loaded": true,
292 "type": "link",
293 "title": "Add UI Route",
294 "path": "/learn/customization/customize-admin/route",
295 "children": [],
296 "chapterTitle": "3.3.2. Add UI Route",
297 "number": "3.3.2."
298 }
299 ],
300 "chapterTitle": "3.3. Customize Admin",
301 "number": "3.3."
302 },
303 {
304 "loaded": true,
305 "type": "link",
306 "title": "Integrate Systems",
307 "path": "/learn/customization/integrate-systems",
308 "children": [
309 {
310 "loaded": true,
311 "type": "link",
312 "title": "CMS Module",
313 "path": "/learn/customization/integrate-systems/service",
314 "children": [],
315 "chapterTitle": "3.4.1. CMS Module",
316 "number": "3.4.1."
317 },
318 {
319 "loaded": true,
320 "type": "link",
321 "title": "Sync to CMS",
322 "path": "/learn/customization/integrate-systems/handle-event",
323 "children": [],
324 "chapterTitle": "3.4.2. Sync to CMS",
325 "number": "3.4.2."
326 },
327 {
328 "loaded": true,
329 "type": "link",
330 "title": "Schedule Syncing",
331 "path": "/learn/customization/integrate-systems/schedule-task",
332 "children": [],
333 "chapterTitle": "3.4.3. Schedule Syncing",
334 "number": "3.4.3."
335 }
336 ],
337 "chapterTitle": "3.4. Integrate Systems",
338 "number": "3.4."
339 },
340 {
341 "loaded": true,
342 "type": "link",
343 "title": "Re-Use Customizations",
344 "path": "/learn/customization/reuse-customizations",
345 "children": [],
346 "chapterTitle": "3.5. Re-Use Customizations",
347 "number": "3.5."
348 },
349 {
350 "loaded": true,
351 "type": "link",
352 "title": "Next Steps",
353 "path": "/learn/customization/next-steps",
354 "children": [],
355 "chapterTitle": "3.6. Next Steps",
356 "number": "3.6."
357 }
358 ],
359 "chapterTitle": "3. Customization Tutorial",
360 "number": "3."
361 },
362 {
363 "loaded": true,
364 "type": "category",
365 "title": "4. Framework",
366 "children": [
367 {
368 "loaded": true,
369 "type": "link",
370 "path": "/learn/fundamentals/framework",
371 "title": "Overview",
372 "children": [],
373 "chapterTitle": "4.1. Overview",
374 "number": "4.1."
375 },
376 {
377 "loaded": true,
378 "type": "link",
379 "path": "/learn/fundamentals/medusa-container",
380 "title": "Medusa Container",
381 "children": [],
382 "chapterTitle": "4.2. Medusa Container",
383 "number": "4.2."
384 },
385 {
386 "loaded": true,
387 "type": "link",
388 "path": "/learn/fundamentals/modules",
389 "title": "Modules",
390 "children": [
391 {
392 "loaded": true,
393 "type": "link",
394 "path": "/learn/fundamentals/modules/modules-directory-structure",
395 "title": "Directory Structure",
396 "children": [],
397 "chapterTitle": "4.3.1. Directory Structure",
398 "number": "4.3.1."
399 },
400 {
401 "loaded": true,
402 "type": "link",
403 "path": "/learn/fundamentals/modules/loaders",
404 "title": "Loaders",
405 "children": [],
406 "chapterTitle": "4.3.2. Loaders",
407 "number": "4.3.2."
408 },
409 {
410 "loaded": true,
411 "type": "link",
412 "path": "/learn/fundamentals/modules/isolation",
413 "title": "Module Isolation",
414 "children": [],
415 "chapterTitle": "4.3.3. Module Isolation",
416 "number": "4.3.3."
417 },
418 {
419 "loaded": true,
420 "type": "link",
421 "path": "/learn/fundamentals/modules/container",
422 "title": "Module Container",
423 "children": [],
424 "chapterTitle": "4.3.4. Module Container",
425 "number": "4.3.4."
426 },
427 {
428 "loaded": true,
429 "type": "link",
430 "path": "/learn/fundamentals/modules/options",
431 "title": "Module Options",
432 "children": [],
433 "chapterTitle": "4.3.5. Module Options",
434 "number": "4.3.5."
435 },
436 {
437 "loaded": true,
438 "type": "link",
439 "path": "/learn/fundamentals/modules/service-factory",
440 "title": "Service Factory",
441 "children": [],
442 "chapterTitle": "4.3.6. Service Factory",
443 "number": "4.3.6."
444 },
445 {
446 "loaded": true,
447 "type": "link",
448 "path": "/learn/fundamentals/modules/service-constraints",
449 "title": "Service Constraints",
450 "children": [],
451 "chapterTitle": "4.3.7. Service Constraints",
452 "number": "4.3.7."
453 },
454 {
455 "loaded": true,
456 "type": "link",
457 "path": "/learn/fundamentals/modules/db-operations",
458 "title": "Database Operations",
459 "children": [],
460 "chapterTitle": "4.3.8. Database Operations",
461 "number": "4.3.8."
462 },
463 {
464 "loaded": true,
465 "type": "link",
466 "path": "/learn/fundamentals/modules/multiple-services",
467 "title": "Multiple Services",
468 "children": [],
469 "chapterTitle": "4.3.9. Multiple Services",
470 "number": "4.3.9."
471 },
472 {
473 "loaded": true,
474 "type": "link",
475 "path": "/learn/fundamentals/modules/commerce-modules",
476 "title": "Commerce Modules",
477 "children": [],
478 "chapterTitle": "4.3.10. Commerce Modules",
479 "number": "4.3.10."
480 },
481 {
482 "loaded": true,
483 "type": "link",
484 "path": "/learn/fundamentals/modules/infrastructure-modules",
485 "title": "Infrastructure Modules",
486 "children": [],
487 "chapterTitle": "4.3.11. Infrastructure Modules",
488 "number": "4.3.11."
489 }
490 ],
491 "chapterTitle": "4.3. Modules",
492 "number": "4.3."
493 },
494 {
495 "loaded": true,
496 "type": "link",
497 "path": "/learn/fundamentals/module-links",
498 "title": "Module Links",
499 "children": [
500 {
501 "loaded": true,
502 "type": "link",
503 "path": "/learn/fundamentals/module-links/directions",
504 "title": "Module Link Direction",
505 "children": [],
506 "chapterTitle": "4.4.1. Module Link Direction",
507 "number": "4.4.1."
508 },
509 {
510 "loaded": true,
511 "type": "link",
512 "path": "/learn/fundamentals/module-links/link",
513 "title": "Link",
514 "children": [],
515 "chapterTitle": "4.4.2. Link",
516 "number": "4.4.2."
517 },
518 {
519 "loaded": true,
520 "type": "link",
521 "path": "/learn/fundamentals/module-links/custom-columns",
522 "title": "Add Custom Columns",
523 "children": [],
524 "chapterTitle": "4.4.3. Add Custom Columns",
525 "number": "4.4.3."
526 },
527 {
528 "loaded": true,
529 "type": "link",
530 "path": "/learn/fundamentals/module-links/read-only",
531 "title": "Read-Only Links",
532 "children": [],
533 "chapterTitle": "4.4.4. Read-Only Links",
534 "number": "4.4.4."
535 }
536 ],
537 "chapterTitle": "4.4. Module Links",
538 "number": "4.4."
539 },
540 {
541 "loaded": true,
542 "type": "link",
543 "path": "/learn/fundamentals/query",
544 "title": "Query",
545 "children": [
546 {
547 "loaded": true,
548 "type": "link",
549 "path": "/learn/fundamentals/query/index-module",
550 "title": "Index Module",
551 "children": [],
552 "chapterTitle": "4.5.1. Index Module",
553 "number": "4.5.1."
554 },
555 {
556 "loaded": true,
557 "type": "link",
558 "path": "/learn/fundamentals/query/search",
559 "title": "Search Queries",
560 "children": [],
561 "chapterTitle": "4.5.2. Search Queries",
562 "number": "4.5.2."
563 },
564 {
565 "loaded": true,
566 "type": "link",
567 "path": "/learn/fundamentals/query/query-context",
568 "title": "Query Context",
569 "children": [],
570 "chapterTitle": "4.5.3. Query Context",
571 "number": "4.5.3."
572 }
573 ],
574 "chapterTitle": "4.5. Query",
575 "number": "4.5."
576 },
577 {
578 "loaded": true,
579 "type": "link",
580 "path": "/learn/fundamentals/data-models",
581 "title": "Data Models",
582 "children": [
583 {
584 "loaded": true,
585 "type": "link",
586 "path": "/learn/fundamentals/data-models/infer-type",
587 "title": "Infer Type",
588 "children": [],
589 "chapterTitle": "4.6.1. Infer Type",
590 "number": "4.6.1."
591 },
592 {
593 "loaded": true,
594 "type": "link",
595 "path": "/learn/fundamentals/data-models/properties",
596 "title": "Properties",
597 "children": [],
598 "chapterTitle": "4.6.2. Properties",
599 "number": "4.6.2."
600 },
601 {
602 "loaded": true,
603 "type": "link",
604 "path": "/learn/fundamentals/data-models/json-properties",
605 "title": "JSON Properties",
606 "children": [],
607 "chapterTitle": "4.6.3. JSON Properties",
608 "number": "4.6.3."
609 },
610 {
611 "loaded": true,
612 "type": "link",
613 "path": "/learn/fundamentals/data-models/big-numbers",
614 "title": "Big Numbers",
615 "children": [],
616 "chapterTitle": "4.6.4. Big Numbers",
617 "number": "4.6.4."
618 },
619 {
620 "loaded": true,
621 "type": "link",
622 "path": "/learn/fundamentals/data-models/relationships",
623 "title": "Relationships",
624 "children": [],
625 "chapterTitle": "4.6.5. Relationships",
626 "number": "4.6.5."
627 },
628 {
629 "loaded": true,
630 "type": "link",
631 "path": "/learn/fundamentals/data-models/manage-relationships",
632 "title": "Manage Relationships",
633 "children": [],
634 "chapterTitle": "4.6.6. Manage Relationships",
635 "number": "4.6.6."
636 },
637 {
638 "loaded": true,
639 "type": "link",
640 "path": "/learn/fundamentals/data-models/indexes",
641 "title": "Define Index",
642 "children": [],
643 "chapterTitle": "4.6.7. Define Index",
644 "number": "4.6.7."
645 },
646 {
647 "loaded": true,
648 "type": "link",
649 "path": "/learn/fundamentals/data-models/check-constraints",
650 "title": "Check Constraints",
651 "children": [],
652 "chapterTitle": "4.6.8. Check Constraints",
653 "number": "4.6.8."
654 },
655 {
656 "loaded": true,
657 "type": "link",
658 "path": "/learn/fundamentals/data-models/write-migration",
659 "title": "Migrations",
660 "children": [],
661 "chapterTitle": "4.6.9. Migrations",
662 "number": "4.6.9."
663 }
664 ],
665 "chapterTitle": "4.6. Data Models",
666 "number": "4.6."
667 },
668 {
669 "loaded": true,
670 "type": "link",
671 "title": "API Routes",
672 "path": "/learn/fundamentals/api-routes",
673 "children": [
674 {
675 "loaded": true,
676 "type": "link",
677 "path": "/learn/fundamentals/api-routes/http-methods",
678 "title": "HTTP Methods",
679 "children": [],
680 "chapterTitle": "4.7.1. HTTP Methods",
681 "number": "4.7.1."
682 },
683 {
684 "loaded": true,
685 "type": "link",
686 "path": "/learn/fundamentals/api-routes/parameters",
687 "title": "Parameters",
688 "children": [],
689 "chapterTitle": "4.7.2. Parameters",
690 "number": "4.7.2."
691 },
692 {
693 "loaded": true,
694 "type": "link",
695 "path": "/learn/fundamentals/api-routes/responses",
696 "title": "Response",
697 "children": [],
698 "chapterTitle": "4.7.3. Response",
699 "number": "4.7.3."
700 },
701 {
702 "loaded": true,
703 "type": "link",
704 "path": "/learn/fundamentals/api-routes/middlewares",
705 "title": "Middlewares",
706 "children": [],
707 "chapterTitle": "4.7.4. Middlewares",
708 "number": "4.7.4."
709 },
710 {
711 "loaded": true,
712 "type": "link",
713 "path": "/learn/fundamentals/api-routes/parse-body",
714 "title": "Body Parsing",
715 "children": [],
716 "chapterTitle": "4.7.5. Body Parsing",
717 "number": "4.7.5."
718 },
719 {
720 "loaded": true,
721 "type": "link",
722 "path": "/learn/fundamentals/api-routes/validation",
723 "title": "Validation",
724 "children": [],
725 "chapterTitle": "4.7.6. Validation",
726 "number": "4.7.6."
727 },
728 {
729 "loaded": true,
730 "type": "link",
731 "path": "/learn/fundamentals/api-routes/protected-routes",
732 "title": "Protected Routes",
733 "children": [],
734 "chapterTitle": "4.7.7. Protected Routes",
735 "number": "4.7.7."
736 },
737 {
738 "loaded": true,
739 "type": "link",
740 "path": "/learn/fundamentals/api-routes/errors",
741 "title": "Errors",
742 "children": [],
743 "chapterTitle": "4.7.8. Errors",
744 "number": "4.7.8."
745 },
746 {
747 "loaded": true,
748 "type": "link",
749 "path": "/learn/fundamentals/api-routes/cors",
750 "title": "Handling CORS",
751 "children": [],
752 "chapterTitle": "4.7.9. Handling CORS",
753 "number": "4.7.9."
754 },
755 {
756 "loaded": true,
757 "type": "link",
758 "path": "/learn/fundamentals/api-routes/additional-data",
759 "title": "Pass Additional Data",
760 "children": [],
761 "chapterTitle": "4.7.10. Pass Additional Data",
762 "number": "4.7.10."
763 },
764 {
765 "loaded": true,
766 "type": "link",
767 "path": "/learn/fundamentals/api-routes/retrieve-custom-links",
768 "title": "Retrieve Custom Links",
769 "children": [],
770 "chapterTitle": "4.7.11. Retrieve Custom Links",
771 "number": "4.7.11."
772 },
773 {
774 "loaded": true,
775 "type": "link",
776 "path": "/learn/fundamentals/api-routes/allowed-fields",
777 "title": "Allowed Fields",
778 "children": [],
779 "chapterTitle": "4.7.12. Allowed Fields",
780 "number": "4.7.12."
781 },
782 {
783 "loaded": true,
784 "type": "link",
785 "path": "/learn/fundamentals/api-routes/disallowed-fields",
786 "title": "Disallowed Fields",
787 "children": [],
788 "chapterTitle": "4.7.13. Disallowed Fields",
789 "number": "4.7.13."
790 },
791 {
792 "loaded": true,
793 "type": "link",
794 "path": "/learn/fundamentals/api-routes/localization",
795 "title": "Localization",
796 "children": [],
797 "chapterTitle": "4.7.14. Localization",
798 "number": "4.7.14."
799 },
800 {
801 "loaded": true,
802 "type": "link",
803 "path": "/learn/fundamentals/api-routes/override",
804 "title": "Override API Routes",
805 "children": [],
806 "chapterTitle": "4.7.15. Override API Routes",
807 "number": "4.7.15."
808 }
809 ],
810 "chapterTitle": "4.7. API Routes",
811 "number": "4.7."
812 },
813 {
814 "loaded": true,
815 "type": "link",
816 "path": "/learn/fundamentals/workflows",
817 "title": "Workflows",
818 "children": [
819 {
820 "loaded": true,
821 "type": "link",
822 "path": "/learn/fundamentals/workflows/constructor-constraints",
823 "title": "Constructor Constraints",
824 "children": [],
825 "chapterTitle": "4.8.1. Constructor Constraints",
826 "number": "4.8.1."
827 },
828 {
829 "loaded": true,
830 "type": "link",
831 "path": "/learn/fundamentals/workflows/compensation-function",
832 "title": "Compensation Function",
833 "children": [],
834 "chapterTitle": "4.8.2. Compensation Function",
835 "number": "4.8.2."
836 },
837 {
838 "loaded": true,
839 "type": "link",
840 "path": "/learn/fundamentals/workflows/variable-manipulation",
841 "title": "Transform Data",
842 "children": [],
843 "chapterTitle": "4.8.3. Transform Data",
844 "number": "4.8.3."
845 },
846 {
847 "loaded": true,
848 "type": "link",
849 "path": "/learn/fundamentals/workflows/conditions",
850 "title": "When-Then Conditions",
851 "children": [],
852 "chapterTitle": "4.8.4. When-Then Conditions",
853 "number": "4.8.4."
854 },
855 {
856 "loaded": true,
857 "type": "link",
858 "path": "/learn/fundamentals/workflows/errors",
859 "title": "Error Handling",
860 "children": [],
861 "chapterTitle": "4.8.5. Error Handling",
862 "number": "4.8.5."
863 },
864 {
865 "loaded": true,
866 "type": "link",
867 "path": "/learn/fundamentals/workflows/workflow-hooks",
868 "title": "Workflow Hooks",
869 "children": [],
870 "chapterTitle": "4.8.6. Workflow Hooks",
871 "number": "4.8.6."
872 },
873 {
874 "loaded": true,
875 "type": "link",
876 "path": "/learn/fundamentals/workflows/add-workflow-hook",
877 "title": "Expose a Hook",
878 "children": [],
879 "chapterTitle": "4.8.7. Expose a Hook",
880 "number": "4.8.7."
881 },
882 {
883 "loaded": true,
884 "type": "link",
885 "path": "/learn/fundamentals/workflows/retry-failed-steps",
886 "title": "Retry Failed Steps",
887 "children": [],
888 "chapterTitle": "4.8.8. Retry Failed Steps",
889 "number": "4.8.8."
890 },
891 {
892 "loaded": true,
893 "type": "link",
894 "path": "/learn/fundamentals/workflows/parallel-steps",
895 "title": "Run Steps in Parallel",
896 "children": [],
897 "chapterTitle": "4.8.9. Run Steps in Parallel",
898 "number": "4.8.9."
899 },
900 {
901 "loaded": true,
902 "type": "link",
903 "path": "/learn/fundamentals/workflows/workflow-timeout",
904 "title": "Workflow Timeout",
905 "children": [],
906 "chapterTitle": "4.8.10. Workflow Timeout",
907 "number": "4.8.10."
908 },
909 {
910 "loaded": true,
911 "type": "link",
912 "path": "/learn/fundamentals/workflows/store-executions",
913 "title": "Store Workflow Executions",
914 "children": [],
915 "chapterTitle": "4.8.11. Store Workflow Executions",
916 "number": "4.8.11."
917 },
918 {
919 "loaded": true,
920 "type": "link",
921 "path": "/learn/fundamentals/workflows/cancel-workflow",
922 "title": "Cancel Workflow Execution",
923 "children": [],
924 "chapterTitle": "4.8.12. Cancel Workflow Execution",
925 "number": "4.8.12."
926 },
927 {
928 "loaded": true,
929 "type": "link",
930 "path": "/learn/fundamentals/workflows/long-running-workflow",
931 "title": "Long-Running Workflow",
932 "children": [],
933 "chapterTitle": "4.8.13. Long-Running Workflow",
934 "number": "4.8.13."
935 },
936 {
937 "loaded": true,
938 "type": "link",
939 "path": "/learn/fundamentals/workflows/execute-another-workflow",
940 "title": "Nested Workflows",
941 "children": [],
942 "chapterTitle": "4.8.14. Nested Workflows",
943 "number": "4.8.14."
944 },
945 {
946 "loaded": true,
947 "type": "link",
948 "path": "/learn/fundamentals/workflows/multiple-step-usage",
949 "title": "Multiple Step Usage",
950 "children": [],
951 "chapterTitle": "4.8.15. Multiple Step Usage",
952 "number": "4.8.15."
953 },
954 {
955 "loaded": true,
956 "type": "link",
957 "path": "/learn/fundamentals/workflows/locks",
958 "title": "Using Locks",
959 "children": [],
960 "chapterTitle": "4.8.16. Using Locks",
961 "number": "4.8.16."
962 },
963 {
964 "loaded": true,
965 "type": "ref",
966 "path": "/learn/debugging-and-testing/debug-workflows",
967 "title": "Debug Workflows",
968 "children": [],
969 "chapterTitle": "4.8.17. Debug Workflows",
970 "number": "4.8.17."
971 }
972 ],
973 "chapterTitle": "4.8. Workflows",
974 "number": "4.8."
975 },
976 {
977 "loaded": true,
978 "type": "link",
979 "path": "/learn/fundamentals/events-and-subscribers",
980 "title": "Events and Subscribers",
981 "children": [
982 {
983 "loaded": true,
984 "type": "link",
985 "path": "/learn/fundamentals/events-and-subscribers/data-payload",
986 "title": "Events Data Payload",
987 "children": [],
988 "chapterTitle": "4.9.1. Events Data Payload",
989 "number": "4.9.1."
990 },
991 {
992 "loaded": true,
993 "type": "link",
994 "path": "/learn/fundamentals/events-and-subscribers/emit-event",
995 "title": "Emit Event",
996 "children": [],
997 "chapterTitle": "4.9.2. Emit Event",
998 "number": "4.9.2."
999 },
1000 {
1001 "loaded": true,
1002 "type": "link",
1003 "path": "/learn/fundamentals/events-and-subscribers/event-priority",
1004 "title": "Event Priority",
1005 "children": [],
1006 "chapterTitle": "4.9.3. Event Priority",
1007 "number": "4.9.3."
1008 }
1009 ],
1010 "chapterTitle": "4.9. Events and Subscribers",
1011 "number": "4.9."
1012 },
1013 {
1014 "loaded": true,
1015 "type": "link",
1016 "path": "/learn/fundamentals/scheduled-jobs",
1017 "title": "Scheduled Jobs",
1018 "children": [
1019 {
1020 "loaded": true,
1021 "type": "link",
1022 "path": "/learn/fundamentals/scheduled-jobs/execution-number",
1023 "title": "Execution Number",
1024 "children": [],
1025 "chapterTitle": "4.10.1. Execution Number",
1026 "number": "4.10.1."
1027 },
1028 {
1029 "loaded": true,
1030 "type": "link",
1031 "path": "/learn/fundamentals/scheduled-jobs/interval",
1032 "title": "Set Interval",
1033 "children": [],
1034 "chapterTitle": "4.10.2. Set Interval",
1035 "number": "4.10.2."
1036 }
1037 ],
1038 "chapterTitle": "4.10. Scheduled Jobs",
1039 "number": "4.10."
1040 },
1041 {
1042 "loaded": true,
1043 "type": "link",
1044 "path": "/learn/fundamentals/plugins",
1045 "title": "Plugins",
1046 "children": [
1047 {
1048 "loaded": true,
1049 "type": "link",
1050 "path": "/learn/fundamentals/plugins/create",
1051 "title": "Create Plugin",
1052 "children": [],
1053 "chapterTitle": "4.11.1. Create Plugin",
1054 "number": "4.11.1."
1055 }
1056 ],
1057 "chapterTitle": "4.11. Plugins",
1058 "number": "4.11."
1059 },
1060 {
1061 "loaded": true,
1062 "type": "link",
1063 "path": "/learn/fundamentals/custom-cli-scripts",
1064 "title": "Custom CLI Scripts",
1065 "children": [
1066 {
1067 "loaded": true,
1068 "type": "link",
1069 "path": "/learn/fundamentals/custom-cli-scripts/seed-data",
1070 "title": "Seed Data",
1071 "children": [],
1072 "chapterTitle": "4.12.1. Seed Data",
1073 "number": "4.12.1."
1074 }
1075 ],
1076 "chapterTitle": "4.12. Custom CLI Scripts",
1077 "number": "4.12."
1078 },
1079 {
1080 "loaded": true,
1081 "type": "link",
1082 "path": "/learn/fundamentals/generated-types",
1083 "title": "Auto-Generated Types",
1084 "children": [],
1085 "chapterTitle": "4.13. Auto-Generated Types",
1086 "number": "4.13."
1087 }
1088 ],
1089 "chapterTitle": "4. Framework",
1090 "number": "4."
1091 },
1092 {
1093 "loaded": true,
1094 "type": "category",
1095 "title": "5. Admin Development",
1096 "children": [
1097 {
1098 "loaded": true,
1099 "type": "link",
1100 "path": "/learn/fundamentals/admin",
1101 "title": "Overview",
1102 "children": [],
1103 "chapterTitle": "5.1. Overview",
1104 "number": "5.1."
1105 },
1106 {
1107 "loaded": true,
1108 "type": "link",
1109 "path": "/learn/fundamentals/admin/widgets",
1110 "title": "Admin Widgets",
1111 "children": [],
1112 "chapterTitle": "5.2. Admin Widgets",
1113 "number": "5.2."
1114 },
1115 {
1116 "loaded": true,
1117 "type": "link",
1118 "path": "/learn/fundamentals/admin/custom-injection-zones",
1119 "title": "Custom Injection Zones",
1120 "children": [],
1121 "chapterTitle": "5.3. Custom Injection Zones",
1122 "number": "5.3."
1123 },
1124 {
1125 "loaded": true,
1126 "type": "link",
1127 "path": "/learn/fundamentals/admin/ui-routes",
1128 "title": "Admin UI Routes",
1129 "children": [],
1130 "chapterTitle": "5.4. Admin UI Routes",
1131 "number": "5.4."
1132 },
1133 {
1134 "loaded": true,
1135 "type": "link",
1136 "path": "/learn/fundamentals/admin/environment-variables",
1137 "title": "Environment Variables",
1138 "children": [],
1139 "chapterTitle": "5.5. Environment Variables",
1140 "number": "5.5."
1141 },
1142 {
1143 "loaded": true,
1144 "type": "link",
1145 "path": "/learn/fundamentals/admin/routing",
1146 "title": "Routing Customizations",
1147 "children": [],
1148 "chapterTitle": "5.6. Routing Customizations",
1149 "number": "5.6."
1150 },
1151 {
1152 "loaded": true,
1153 "type": "link",
1154 "path": "/learn/fundamentals/admin/translations",
1155 "title": "Translations",
1156 "children": [],
1157 "chapterTitle": "5.7. Translations",
1158 "number": "5.7."
1159 },
1160 {
1161 "loaded": true,
1162 "type": "link",
1163 "path": "/learn/fundamentals/admin/constraints",
1164 "title": "Constraints",
1165 "children": [],
1166 "chapterTitle": "5.8. Constraints",
1167 "number": "5.8."
1168 },
1169 {
1170 "loaded": true,
1171 "type": "link",
1172 "path": "/learn/fundamentals/admin/tips",
1173 "title": "Tips",
1174 "children": [],
1175 "chapterTitle": "5.9. Tips",
1176 "number": "5.9."
1177 }
1178 ],
1179 "chapterTitle": "5. Admin Development",
1180 "number": "5."
1181 },
1182 {
1183 "loaded": true,
1184 "type": "category",
1185 "title": "6. Storefront",
1186 "children": [
1187 {
1188 "loaded": true,
1189 "type": "link",
1190 "path": "/learn/storefront-development",
1191 "title": "Storefront Development",
1192 "chapterTitle": "6. Storefront",
1193 "children": [],
1194 "number": "6."
1195 }
1196 ]
1197 },
1198 {
1199 "loaded": true,
1200 "type": "category",
1201 "title": "7. Configurations",
1202 "children": [
1203 {
1204 "loaded": true,
1205 "type": "link",
1206 "title": "pnpm",
1207 "path": "/learn/configurations/pnpm",
1208 "children": [],
1209 "chapterTitle": "7.1. pnpm",
1210 "number": "7.1."
1211 },
1212 {
1213 "loaded": true,
1214 "type": "link",
1215 "title": "Environment Variables",
1216 "path": "/learn/fundamentals/environment-variables",
1217 "children": [],
1218 "chapterTitle": "7.2. Environment Variables",
1219 "number": "7.2."
1220 },
1221 {
1222 "loaded": true,
1223 "type": "link",
1224 "title": "Medusa Configuations",
1225 "path": "/learn/configurations/medusa-config",
1226 "children": [
1227 {
1228 "loaded": true,
1229 "type": "link",
1230 "title": "Asymmetric Encryption",
1231 "path": "/learn/configurations/medusa-config/asymmetric-encryption",
1232 "children": [],
1233 "chapterTitle": "7.3.1. Asymmetric Encryption",
1234 "number": "7.3.1."
1235 }
1236 ],
1237 "chapterTitle": "7.3. Medusa Configuations",
1238 "number": "7.3."
1239 },
1240 {
1241 "loaded": true,
1242 "type": "link",
1243 "title": "Type Aliases",
1244 "path": "/learn/configurations/ts-aliases",
1245 "children": [],
1246 "chapterTitle": "7.4. Type Aliases",
1247 "number": "7.4."
1248 }
1249 ],
1250 "chapterTitle": "7. Configurations",
1251 "number": "7."
1252 },
1253 {
1254 "loaded": true,
1255 "type": "category",
1256 "title": "8. Debugging & Testing",
1257 "children": [
1258 {
1259 "loaded": true,
1260 "type": "link",
1261 "path": "/learn/debugging-and-testing/testing-tools",
1262 "title": "Testing Tools",
1263 "children": [],
1264 "chapterTitle": "8.1. Testing Tools",
1265 "number": "8.1."
1266 },
1267 {
1268 "loaded": true,
1269 "type": "link",
1270 "path": "/learn/debugging-and-testing/testing-tools/integration-tests",
1271 "title": "Integration Tests",
1272 "children": [
1273 {
1274 "loaded": true,
1275 "type": "link",
1276 "path": "/learn/debugging-and-testing/testing-tools/integration-tests/api-routes",
1277 "title": "Example: API Routes Tests",
1278 "children": [],
1279 "chapterTitle": "8.2.1. Example: API Routes Tests",
1280 "number": "8.2.1."
1281 },
1282 {
1283 "loaded": true,
1284 "type": "link",
1285 "path": "/learn/debugging-and-testing/testing-tools/integration-tests/workflows",
1286 "title": "Example: Workflows Tests",
1287 "children": [],
1288 "chapterTitle": "8.2.2. Example: Workflows Tests",
1289 "number": "8.2.2."
1290 }
1291 ],
1292 "chapterTitle": "8.2. Integration Tests",
1293 "number": "8.2."
1294 },
1295 {
1296 "loaded": true,
1297 "type": "link",
1298 "path": "/learn/debugging-and-testing/testing-tools/modules-tests",
1299 "title": "Modules Tests",
1300 "children": [],
1301 "chapterTitle": "8.3. Modules Tests",
1302 "number": "8.3."
1303 },
1304 {
1305 "loaded": true,
1306 "type": "link",
1307 "path": "/learn/debugging-and-testing/debug-workflows",
1308 "title": "Debug Workflows",
1309 "children": [],
1310 "chapterTitle": "8.4. Debug Workflows",
1311 "number": "8.4."
1312 },
1313 {
1314 "loaded": true,
1315 "type": "link",
1316 "path": "/learn/debugging-and-testing/instrumentation",
1317 "title": "Instrumentation",
1318 "children": [
1319 {
1320 "loaded": true,
1321 "type": "ref",
1322 "path": "/resources/integrations/guides/sentry",
1323 "title": "Guide: Sentry",
1324 "children": [],
1325 "chapterTitle": "8.5.1. Guide: Sentry",
1326 "number": "8.5.1."
1327 }
1328 ],
1329 "chapterTitle": "8.5. Instrumentation",
1330 "number": "8.5."
1331 },
1332 {
1333 "loaded": true,
1334 "type": "link",
1335 "path": "/learn/debugging-and-testing/logging",
1336 "title": "Logging",
1337 "children": [
1338 {
1339 "loaded": true,
1340 "type": "link",
1341 "path": "/learn/debugging-and-testing/logging/custom-logger",
1342 "title": "Override Logger",
1343 "children": [],
1344 "chapterTitle": "8.6.1. Override Logger",
1345 "number": "8.6.1."
1346 }
1347 ],
1348 "chapterTitle": "8.6. Logging",
1349 "number": "8.6."
1350 },
1351 {
1352 "loaded": true,
1353 "type": "link",
1354 "path": "/learn/debugging-and-testing/feature-flags",
1355 "title": "Feature Flags",
1356 "children": [
1357 {
1358 "loaded": true,
1359 "type": "link",
1360 "path": "/learn/debugging-and-testing/feature-flags/create",
1361 "title": "Create Feature Flag",
1362 "children": [],
1363 "chapterTitle": "8.7.1. Create Feature Flag",
1364 "number": "8.7.1."
1365 }
1366 ],
1367 "chapterTitle": "8.7. Feature Flags",
1368 "number": "8.7."
1369 }
1370 ],
1371 "chapterTitle": "8. Debugging & Testing",
1372 "number": "8."
1373 },
1374 {
1375 "loaded": true,
1376 "type": "category",
1377 "title": "9. Best Practices",
1378 "children": [
1379 {
1380 "loaded": true,
1381 "type": "link",
1382 "path": "/learn/best-practices/third-party-sync",
1383 "title": "Third-Party Syncing",
1384 "children": [],
1385 "chapterTitle": "9.1. Third-Party Syncing",
1386 "number": "9.1."
1387 },
1388 {
1389 "loaded": true,
1390 "type": "ref",
1391 "path": "/learn/fundamentals/scheduled-jobs/interval",
1392 "title": "Scheduled Job Intervals",
1393 "children": [],
1394 "chapterTitle": "9.2. Scheduled Job Intervals",
1395 "number": "9.2."
1396 }
1397 ],
1398 "chapterTitle": "9. Best Practices",
1399 "number": "9."
1400 },
1401 {
1402 "loaded": true,
1403 "type": "category",
1404 "title": "10. Production",
1405 "children": [
1406 {
1407 "loaded": true,
1408 "type": "link",
1409 "path": "/learn/build",
1410 "title": "Build",
1411 "children": [],
1412 "chapterTitle": "10.1. Build",
1413 "number": "10.1."
1414 },
1415 {
1416 "loaded": true,
1417 "type": "link",
1418 "path": "/learn/production/worker-mode",
1419 "title": "Worker Modes",
1420 "children": [],
1421 "chapterTitle": "10.2. Worker Modes",
1422 "number": "10.2."
1423 },
1424 {
1425 "loaded": true,
1426 "type": "link",
1427 "path": "/learn/deployment",
1428 "title": "Deployment Overview",
1429 "children": [
1430 {
1431 "loaded": true,
1432 "type": "link",
1433 "path": "/learn/deployment/general",
1434 "title": "General Deployment",
1435 "children": [],
1436 "chapterTitle": "10.3.1. General Deployment",
1437 "number": "10.3.1."
1438 }
1439 ],
1440 "chapterTitle": "10.3. Deployment Overview",
1441 "number": "10.3."
1442 }
1443 ],
1444 "chapterTitle": "10. Production",
1445 "number": "10."
1446 },
1447 {
1448 "loaded": true,
1449 "type": "category",
1450 "title": "11. Upgrade",
1451 "children": [
1452 {
1453 "loaded": true,
1454 "type": "link",
1455 "path": "/learn/update",
1456 "title": "Update Medusa",
1457 "children": [],
1458 "chapterTitle": "11.1. Update Medusa",
1459 "number": "11.1."
1460 },
1461 {
1462 "loaded": true,
1463 "type": "external",
1464 "path": "https://github.com/medusajs/medusa/releases",
1465 "title": "Release Notes",
1466 "children": [],
1467 "chapterTitle": "11.2. Release Notes",
1468 "number": "11.2."
1469 },
1470 {
1471 "loaded": true,
1472 "type": "link",
1473 "path": "/learn/codemods",
1474 "title": "Codemods",
1475 "children": [
1476 {
1477 "loaded": true,
1478 "type": "link",
1479 "title": "Replace Imports (v2.11.0+)",
1480 "path": "/learn/codemods/replace-imports",
1481 "children": [],
1482 "chapterTitle": "11.3.1. Replace Imports (v2.11.0+)",
1483 "number": "11.3.1."
1484 },
1485 {
1486 "loaded": true,
1487 "type": "link",
1488 "title": "Replace Zod Imports (v2.13.0+)",
1489 "path": "/learn/codemods/replace-zod-imports",
1490 "children": [],
1491 "chapterTitle": "11.3.2. Replace Zod Imports (v2.13.0+)",
1492 "number": "11.3.2."
1493 }
1494 ],
1495 "chapterTitle": "11.3. Codemods",
1496 "number": "11.3."
1497 },
1498 {
1499 "loaded": true,
1500 "type": "link",
1501 "title": "From v1 to v2",
1502 "path": "/learn/introduction/from-v1-to-v2",
1503 "children": [],
1504 "chapterTitle": "11.4. From v1 to v2",
1505 "number": "11.4."
1506 }
1507 ],
1508 "chapterTitle": "11. Upgrade",
1509 "number": "11."
1510 },
1511 {
1512 "loaded": true,
1513 "type": "category",
1514 "title": "12. Resources",
1515 "children": [
1516 {
1517 "loaded": true,
1518 "type": "sub-category",
1519 "title": "Contribution Guidelines",
1520 "children": [
1521 {
1522 "loaded": true,
1523 "type": "link",
1524 "path": "/learn/resources/contribution-guidelines/code",
1525 "title": "Code",
1526 "children": [],
1527 "chapterTitle": "12.1.1. Code",
1528 "number": "12.1.1."
1529 },
1530 {
1531 "loaded": true,
1532 "type": "link",
1533 "path": "/learn/resources/contribution-guidelines/docs",
1534 "title": "Docs",
1535 "children": [],
1536 "chapterTitle": "12.1.2. Docs",
1537 "number": "12.1.2."
1538 },
1539 {
1540 "loaded": true,
1541 "type": "link",
1542 "path": "/learn/resources/contribution-guidelines/admin-translations",
1543 "title": "Admin Translations",
1544 "children": [],
1545 "chapterTitle": "12.1.3. Admin Translations",
1546 "number": "12.1.3."
1547 }
1548 ],
1549 "chapterTitle": "12.1. Contribution Guidelines",
1550 "number": "12.1."
1551 },
1552 {
1553 "loaded": true,
1554 "type": "link",
1555 "path": "/learn/resources/usage",
1556 "title": "Usage",
1557 "children": [],
1558 "chapterTitle": "12.2. Usage",
1559 "number": "12.2."
1560 }
1561 ],
1562 "chapterTitle": "12. Resources",
1563 "number": "12."
1564 }
1565 ]
1566 }
1567 ]