docs: add workflow and js sdk reference pages for commerce modules (#10898)

* docs: add workflow and js sdk reference pages for commerce modules

* resolve build errors
This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-01-09 18:19:40 +02:00
1 parent 3fec01ab49
commit 44706ef03b
80 files changed
+7107 -6113

No files matched your search

+45 -36
View File
@@ -66,48 +66,57 @@ export const apiKeySidebar = [
description:
"Learn how to utilize and manage API Key features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
initialOpen: false,
autogenerate_tags: "workflow+apiKey",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
initialOpen: false,
autogenerate_tags: "step+apiKey",
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+apiKey",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+apiKey",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the API Key Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/api-key/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+apiKey",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+apiKey",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/api-key/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+apiKey",
description:
"The following methods or properties are used to send requests to Store API Routes related to the API Key Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+apiKey",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the API Key Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/api-key/admin-widget-zones",
+29 -24
View File
@@ -98,20 +98,6 @@ export const authSidebar = [
description:
"Learn how to utilize and manage Auth features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+auth",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+auth",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Providers",
@@ -134,22 +120,41 @@ export const authSidebar = [
},
],
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
autogenerate_tags: "jsSdk+auth",
autogenerate_as_ref: true,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the Auth Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/auth/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+auth",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+auth",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/auth/js-sdk",
title: "JS SDK",
hideChildren: true,
autogenerate_tags: "jsSdk+auth",
autogenerate_as_ref: true,
},
{
type: "link",
path: "/commerce-modules/auth/events",
+45 -36
View File
@@ -83,48 +83,57 @@ export const cartSidebar = [
description:
"Learn how to utilize and manage Cart features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+cart",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+cart",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+cart",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+cart",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the Cart Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/cart/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+cart",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+cart",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/cart/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+cart",
description:
"The following methods or properties are used to send requests to Store API Routes related to the Cart Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+cart",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the Cart Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/cart/events",
+25 -36
View File
@@ -61,48 +61,37 @@ export const currencySidebar = [
description:
"Learn how to utilize and manage Currency features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+currency",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+currency",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+currency",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+currency",
autogenerate_as_ref: true,
},
],
},
{
type: "sub-category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the Currency Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/currency/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+currency",
description:
"The following methods or properties are used to send requests to Store API Routes related to the Currency Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+currency",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the Currency Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/references/currency",
+45 -36
View File
@@ -73,48 +73,57 @@ export const customerSidebar = [
description:
"Learn how to utilize and manage Customer features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+customer",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+customer",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+customer",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+customer",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the Customer Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/customer/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+customer",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+customer",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/customer/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+customer",
description:
"The following methods or properties are used to send requests to Store API Routes related to the Customer Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+customer",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the Customer Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/customer/events",
+45 -36
View File
@@ -98,48 +98,57 @@ export const fulfillmentSidebar = [
description:
"Learn how to utilize and manage Fulfillment features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+fulfillment",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+fulfillment",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+fulfillment",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+fulfillment",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the Fulfillment Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/fulfillment/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+fulfillment",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+fulfillment",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/fulfillment/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+fulfillment",
description:
"The following methods or properties are used to send requests to Store API Routes related to the Fulfillment Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+fulfillment",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the Fulfillment Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/fulfillment/events",
+45 -36
View File
@@ -76,48 +76,57 @@ export const inventorySidebar = [
description:
"Learn how to utilize and manage Inventory features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+inventory",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+inventory",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+inventory",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+inventory",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the Inventory Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/inventory/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+inventory",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+inventory",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/inventory/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+inventory",
description:
"The following methods or properties are used to send requests to Store API Routes related to the Inventory Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+inventory",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the Inventory Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/inventory/admin-widget-zones",
+45 -36
View File
@@ -111,48 +111,57 @@ export const orderSidebar = [
description:
"Learn how to utilize and manage Order features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+order",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+order",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+order",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+order",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the Order Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/order/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+order",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+order",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/order/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+order",
description:
"The following methods or properties are used to send requests to Store API Routes related to the Order Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+order",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the Order Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/order/events",
+45 -36
View File
@@ -103,20 +103,6 @@ export const paymentSidebar = [
description:
"Learn how to utilize and manage Payment features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+payment",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+payment",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Providers",
@@ -129,34 +115,57 @@ export const paymentSidebar = [
},
],
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+payment",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+payment",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the Payment Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/payment/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+payment",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+payment",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/payment/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+payment",
description:
"The following methods or properties are used to send requests to Store API Routes related to the Payment Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+payment",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the Payment Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/payment/events",
+45 -36
View File
@@ -81,48 +81,57 @@ export const pricingSidebar = [
description:
"Learn how to utilize and manage Pricing features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+pricing",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+pricing",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+pricing",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+pricing",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the Pricing Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/pricing/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+pricing",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+pricing",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/pricing/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+pricing",
description:
"The following methods or properties are used to send requests to Store API Routes related to the Pricing Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+pricing",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the Pricing Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/pricing/admin-widget-zones",
+45 -36
View File
@@ -80,48 +80,57 @@ export const productSidebar = [
description:
"Learn how to utilize and manage Product features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+product",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+product",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+product",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+product",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the Product Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/product/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+product",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+product",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/product/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+product",
description:
"The following methods or properties are used to send requests to Store API Routes related to the Product Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+product",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the Product Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/product/events",
+45 -36
View File
@@ -88,48 +88,57 @@ export const promotionSidebar = [
description:
"Learn how to utilize and manage Promotion features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+promotion",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+promotion",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+promotion",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+promotion",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the Promotion Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/promotion/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+promotion",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+promotion",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/promotion/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+promotion",
description:
"The following methods or properties are used to send requests to Store API Routes related to the Promotion Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+promotion",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the Promotion Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/promotion/admin-widget-zones",
+45 -36
View File
@@ -61,48 +61,57 @@ export const regionSidebar = [
description:
"Learn how to utilize and manage Region features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+region",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+region",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+region",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+region",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the Region Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/region/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+region",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+region",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/region/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+region",
description:
"The following methods or properties are used to send requests to Store API Routes related to the Region Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+region",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the Region Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/region/events",
+45 -36
View File
@@ -66,48 +66,57 @@ export const salesChannelSidebar = [
description:
"Learn how to utilize and manage Sales Channel features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+salesChannel",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+salesChannel",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+salesChannel",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+salesChannel",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the Sales Channel Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/sales-channel/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+salesChannel",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+salesChannel",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/sales-channel/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+salesChannel",
description:
"The following methods or properties are used to send requests to Store API Routes related to the Sales Channel Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+salesChannel",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the Sales Channel Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/sales-channel/events",
+45 -36
View File
@@ -66,48 +66,57 @@ export const stockLocationSidebar = [
description:
"Learn how to utilize and manage Stock Location features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+stockLocation",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+stockLocation",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+stockLocation",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+stockLocation",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the Stock Location Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/stock-location/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+stockLocation",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+stockLocation",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/stock-location/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+stockLocation",
description:
"The following methods or properties are used to send requests to Store API Routes related to the Stock Location Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+stockLocation",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the Stock Location Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/stock-location/admin-widget-zones",
+45 -36
View File
@@ -61,48 +61,57 @@ export const storeSidebar = [
description:
"Learn how to utilize and manage Store features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+store",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+store",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+store",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+store",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the Store Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/store/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+store",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+store",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/store/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+store",
description:
"The following methods or properties are used to send requests to Store API Routes related to the Store Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+store",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the Store Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/store/admin-widget-zones",
+45 -36
View File
@@ -83,48 +83,57 @@ export const taxSidebar = [
description:
"Learn how to utilize and manage Tax features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+tax",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+tax",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+tax",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+tax",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the Tax Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/tax/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+tax",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+tax",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/tax/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+tax",
description:
"The following methods or properties are used to send requests to Store API Routes related to the Tax Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+tax",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the Tax Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/tax/admin-widget-zones",
+45 -36
View File
@@ -61,48 +61,57 @@ export const userSidebar = [
description:
"Learn how to utilize and manage User features in the Medusa Admin dashboard.",
},
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+user",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+user",
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+user",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+user",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
"Find references for tools and resources related to the User Module, such as data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",
path: "/commerce-modules/user/workflows",
title: "Workflows",
hideChildren: true,
children: [
{
type: "category",
title: "Workflows",
autogenerate_tags: "workflow+user",
autogenerate_as_ref: true,
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+user",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/user/js-sdk",
title: "JS SDK",
hideChildren: true,
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+user",
description:
"The following methods or properties are used to send requests to Store API Routes related to the User Module.",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+user",
description:
"The following methods or properties are used to send requests to Admin API Routes related to the User Module.",
autogenerate_as_ref: true,
},
],
},
{
type: "link",
path: "/commerce-modules/user/events",