docs: add JS SDK to commerce modules sidebars (#10740)
This commit is contained in:
1 parent
688e1e60a5
commit
ee50e67a96
111 files changed
+8567
-5406
No files matched your search
@@ -10,7 +10,8 @@ type CommerceModuleSectionsProps = {
|
||||
export const CommerceModuleSections = ({
|
||||
name,
|
||||
}: CommerceModuleSectionsProps) => {
|
||||
const components: (JSX.Element | JSX.Element[])[] = []
|
||||
const guideComponents: (JSX.Element | JSX.Element[])[] = []
|
||||
const referenceComponents: (JSX.Element | JSX.Element[])[] = []
|
||||
const { items: workflowItems, component: workflowsComponent } = useChildDocs({
|
||||
showItems: ["Workflows"],
|
||||
titleLevel: 3,
|
||||
@@ -32,7 +33,7 @@ export const CommerceModuleSections = ({
|
||||
itemsPerRow: 2,
|
||||
})
|
||||
if (serverGuideItems?.default.length) {
|
||||
components.push(serverGuidesComponent)
|
||||
guideComponents.push(serverGuidesComponent)
|
||||
}
|
||||
const { items: storefrontGuideItems, component: storefrontGuidesComponent } =
|
||||
useChildDocs({
|
||||
@@ -40,7 +41,7 @@ export const CommerceModuleSections = ({
|
||||
itemsPerRow: 2,
|
||||
})
|
||||
if (storefrontGuideItems?.default.length) {
|
||||
components.push(storefrontGuidesComponent)
|
||||
guideComponents.push(storefrontGuidesComponent)
|
||||
}
|
||||
const { items: adminGuideItems, component: adminGuidesComponent } =
|
||||
useChildDocs({
|
||||
@@ -48,7 +49,7 @@ export const CommerceModuleSections = ({
|
||||
itemsPerRow: 2,
|
||||
})
|
||||
if (adminGuideItems?.default.length) {
|
||||
components.push(adminGuidesComponent)
|
||||
guideComponents.push(adminGuidesComponent)
|
||||
}
|
||||
const { items: userGuideItems, component: userGuidesComponent } =
|
||||
useChildDocs({
|
||||
@@ -56,7 +57,14 @@ export const CommerceModuleSections = ({
|
||||
itemsPerRow: 2,
|
||||
})
|
||||
if (userGuideItems?.default.length) {
|
||||
components.push(userGuidesComponent)
|
||||
guideComponents.push(userGuidesComponent)
|
||||
}
|
||||
const { items: jsSdkItems, component: jsSdkComponent } = useChildDocs({
|
||||
showItems: ["JS SDK"],
|
||||
itemsPerRow: 2,
|
||||
})
|
||||
if (jsSdkItems?.default.length) {
|
||||
referenceComponents.push(jsSdkComponent)
|
||||
}
|
||||
const { items: referenceItems, component: referencesComponent } =
|
||||
useChildDocs({
|
||||
@@ -64,13 +72,22 @@ export const CommerceModuleSections = ({
|
||||
itemsPerRow: 2,
|
||||
})
|
||||
if (referenceItems?.default.length) {
|
||||
components.push(referencesComponent)
|
||||
referenceComponents.push(referencesComponent)
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
{guideComponents.map((component, i) => (
|
||||
<React.Fragment key={i}>
|
||||
<>
|
||||
{i !== 0 && <Hr />}
|
||||
{component}
|
||||
</>
|
||||
</React.Fragment>
|
||||
))}
|
||||
{!hideWorkflowsSection && (
|
||||
<>
|
||||
{guideComponents.length > 0 && <Hr />}
|
||||
<H2 id="medusa-workflows-and-steps">Medusa Workflows and Steps</H2>
|
||||
<p>
|
||||
Medusa provides the following workflows and steps that use the{" "}
|
||||
@@ -81,11 +98,10 @@ export const CommerceModuleSections = ({
|
||||
{stepsComponent}
|
||||
</>
|
||||
)}
|
||||
|
||||
{components.map((component, i) => (
|
||||
{referenceComponents.map((component, i) => (
|
||||
<React.Fragment key={i}>
|
||||
<>
|
||||
{i !== 0 || !hideWorkflowsSection ? <Hr /> : null}
|
||||
{(i !== 0 || !hideWorkflowsSection) && <Hr />}
|
||||
{component}
|
||||
</>
|
||||
</React.Fragment>
|
||||
|
||||
@@ -2203,47 +2203,47 @@ export const generatedEditDates = {
|
||||
"app/examples/page.mdx": "2024-12-11T09:07:47.589Z",
|
||||
"app/medusa-cli/commands/build/page.mdx": "2024-11-11T11:00:49.665Z",
|
||||
"app/js-sdk/page.mdx": "2024-12-12T11:41:51.152Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.apiKey/page.mdx": "2024-12-09T13:21:58.136Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.campaign/page.mdx": "2024-12-09T13:21:58.212Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.claim/page.mdx": "2024-12-23T12:30:32.628Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.currency/page.mdx": "2024-12-09T13:21:58.084Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.customer/page.mdx": "2024-12-09T13:21:57.548Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.customerGroup/page.mdx": "2024-12-09T13:21:58.176Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.exchange/page.mdx": "2024-12-23T12:30:32.654Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.fulfillment/page.mdx": "2024-12-09T13:21:57.756Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.fulfillmentProvider/page.mdx": "2024-12-23T12:30:32.518Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.fulfillmentSet/page.mdx": "2024-12-09T13:21:57.744Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.inventoryItem/page.mdx": "2024-12-09T13:21:57.804Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.notification/page.mdx": "2024-12-09T13:21:57.812Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.invite/page.mdx": "2024-12-10T14:55:09.686Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.order/page.mdx": "2024-12-09T13:21:57.848Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.orderEdit/page.mdx": "2024-12-09T13:21:57.868Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.payment/page.mdx": "2024-12-09T13:21:58.096Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.paymentCollection/page.mdx": "2024-12-09T13:21:58.112Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.priceList/page.mdx": "2024-12-09T13:21:57.596Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.pricePreference/page.mdx": "2024-12-09T13:21:57.604Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.product/page.mdx": "2024-12-09T13:21:57.660Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.productCategory/page.mdx": "2024-12-09T13:21:57.580Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.productCollection/page.mdx": "2024-12-09T13:21:57.560Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.productTag/page.mdx": "2024-12-09T13:21:58.068Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.productType/page.mdx": "2024-12-09T13:21:57.672Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.productVariant/page.mdx": "2024-12-09T13:21:58.100Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.promotion/page.mdx": "2024-12-09T13:21:58.200Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.refundReason/page.mdx": "2024-12-09T13:21:58.104Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.region/page.mdx": "2024-12-10T14:55:09.771Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.reservation/page.mdx": "2024-12-09T13:21:58.156Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.return/page.mdx": "2024-12-23T12:30:32.591Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.returnReason/page.mdx": "2024-12-09T13:21:57.704Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.salesChannel/page.mdx": "2024-12-09T13:21:57.732Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.shippingOption/page.mdx": "2024-12-10T14:55:09.811Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.shippingProfile/page.mdx": "2024-12-09T13:21:57.784Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.stockLocation/page.mdx": "2024-12-09T13:21:57.720Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.store/page.mdx": "2024-12-09T13:21:58.052Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.taxRate/page.mdx": "2024-12-09T13:21:58.036Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.taxRegion/page.mdx": "2024-12-09T13:21:58.048Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.upload/page.mdx": "2024-12-09T13:21:57.680Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.user/page.mdx": "2024-12-09T13:21:58.080Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.workflowExecution/page.mdx": "2024-12-09T13:21:58.144Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.apiKey/page.mdx": "2024-12-26T08:56:54.626Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.campaign/page.mdx": "2024-12-26T08:56:58.139Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.claim/page.mdx": "2024-12-26T08:56:57.938Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.currency/page.mdx": "2024-12-26T08:56:56.810Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.customer/page.mdx": "2024-12-26T08:56:56.636Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.customerGroup/page.mdx": "2024-12-26T08:56:57.456Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.exchange/page.mdx": "2024-12-26T08:56:56.991Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.fulfillment/page.mdx": "2024-12-26T08:56:56.893Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.fulfillmentProvider/page.mdx": "2024-12-26T08:56:55.073Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.fulfillmentSet/page.mdx": "2024-12-26T08:56:55.842Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.inventoryItem/page.mdx": "2024-12-26T08:56:55.548Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.notification/page.mdx": "2024-12-26T08:56:57.247Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.invite/page.mdx": "2024-12-26T08:56:57.660Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.order/page.mdx": "2024-12-26T08:56:55.109Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.orderEdit/page.mdx": "2024-12-26T08:56:57.350Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.payment/page.mdx": "2024-12-26T08:56:57.122Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.paymentCollection/page.mdx": "2024-12-26T08:56:54.632Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.priceList/page.mdx": "2024-12-26T08:56:55.929Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.pricePreference/page.mdx": "2024-12-26T08:56:56.726Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.product/page.mdx": "2024-12-26T08:56:57.844Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.productCategory/page.mdx": "2024-12-26T08:56:55.361Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.productCollection/page.mdx": "2024-12-26T08:56:54.834Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.productTag/page.mdx": "2024-12-26T08:56:56.438Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.productType/page.mdx": "2024-12-26T08:56:54.685Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.productVariant/page.mdx": "2024-12-26T08:56:57.752Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.promotion/page.mdx": "2024-12-26T08:56:55.276Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.refundReason/page.mdx": "2024-12-26T08:56:57.560Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.region/page.mdx": "2024-12-26T08:56:58.038Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.reservation/page.mdx": "2024-12-26T08:56:56.189Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.return/page.mdx": "2024-12-26T08:56:54.626Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.returnReason/page.mdx": "2024-12-26T08:56:54.760Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.salesChannel/page.mdx": "2024-12-26T08:56:55.660Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.shippingOption/page.mdx": "2024-12-26T08:56:56.031Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.shippingProfile/page.mdx": "2024-12-26T08:56:56.541Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.stockLocation/page.mdx": "2024-12-26T08:56:55.202Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.store/page.mdx": "2024-12-26T08:56:54.626Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.taxRate/page.mdx": "2024-12-26T08:56:54.626Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.taxRegion/page.mdx": "2024-12-26T08:56:55.458Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.upload/page.mdx": "2024-12-26T08:56:55.760Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.user/page.mdx": "2024-12-26T08:56:54.924Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.workflowExecution/page.mdx": "2024-12-26T08:56:56.322Z",
|
||||
"references/js_sdk/admin/ApiKey/methods/js_sdk.admin.ApiKey.batchSalesChannels/page.mdx": "2024-12-09T13:21:56.916Z",
|
||||
"references/js_sdk/admin/ApiKey/methods/js_sdk.admin.ApiKey.create/page.mdx": "2024-12-09T13:21:56.900Z",
|
||||
"references/js_sdk/admin/ApiKey/methods/js_sdk.admin.ApiKey.delete/page.mdx": "2024-12-09T13:21:56.912Z",
|
||||
@@ -2631,27 +2631,27 @@ export const generatedEditDates = {
|
||||
"references/js_sdk/admin/types/js_sdk.admin.FetchInput/page.mdx": "2024-10-22T15:09:53.767Z",
|
||||
"references/js_sdk/admin/types/js_sdk.admin.ClientFetch/page.mdx": "2024-12-09T13:22:00.128Z",
|
||||
"references/js_sdk/admin/types/js_sdk.admin.FetchParams/page.mdx": "2024-10-22T15:09:53.766Z",
|
||||
"references/js_sdk/auth/Auth/methods/js_sdk.auth.Auth.callback/page.mdx": "2024-12-09T13:22:00.152Z",
|
||||
"references/js_sdk/auth/Auth/methods/js_sdk.auth.Auth.login/page.mdx": "2024-12-09T13:22:00.148Z",
|
||||
"references/js_sdk/auth/Auth/methods/js_sdk.auth.Auth.callback/page.mdx": "2024-12-26T08:56:59.595Z",
|
||||
"references/js_sdk/auth/Auth/methods/js_sdk.auth.Auth.login/page.mdx": "2024-12-26T08:56:59.394Z",
|
||||
"references/js_sdk/admin/types/js_sdk.admin.Logger/page.mdx": "2024-12-09T13:22:00.088Z",
|
||||
"references/js_sdk/auth/Auth/methods/js_sdk.auth.Auth.logout/page.mdx": "2024-12-09T13:22:00.156Z",
|
||||
"references/js_sdk/auth/Auth/methods/js_sdk.auth.Auth.refresh/page.mdx": "2024-12-09T13:22:00.152Z",
|
||||
"references/js_sdk/auth/Auth/methods/js_sdk.auth.Auth.resetPassword/page.mdx": "2024-12-09T13:22:00.156Z",
|
||||
"references/js_sdk/auth/Auth/methods/js_sdk.auth.Auth.register/page.mdx": "2024-12-09T13:22:00.148Z",
|
||||
"references/js_sdk/auth/Auth/methods/js_sdk.auth.Auth.updateProvider/page.mdx": "2024-12-09T13:22:00.160Z",
|
||||
"references/js_sdk/auth/classes/js_sdk.auth.Auth/page.mdx": "2024-11-25T17:49:55.096Z",
|
||||
"references/js_sdk/auth/Auth/methods/js_sdk.auth.Auth.logout/page.mdx": "2024-12-26T08:56:59.509Z",
|
||||
"references/js_sdk/auth/Auth/methods/js_sdk.auth.Auth.refresh/page.mdx": "2024-12-26T08:56:59.671Z",
|
||||
"references/js_sdk/auth/Auth/methods/js_sdk.auth.Auth.resetPassword/page.mdx": "2024-12-26T08:56:54.627Z",
|
||||
"references/js_sdk/auth/Auth/methods/js_sdk.auth.Auth.register/page.mdx": "2024-12-26T08:56:54.624Z",
|
||||
"references/js_sdk/auth/Auth/methods/js_sdk.auth.Auth.updateProvider/page.mdx": "2024-12-26T08:56:59.752Z",
|
||||
"references/js_sdk/auth/classes/js_sdk.auth.Auth/page.mdx": "2024-12-26T08:56:59.269Z",
|
||||
"references/js_sdk/modules/js_sdk.admin/page.mdx": "2024-11-25T17:49:51.856Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.category/page.mdx": "2024-12-09T13:22:00.184Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.category/page.mdx": "2024-12-26T08:56:58.696Z",
|
||||
"references/js_sdk/modules/js_sdk.store/page.mdx": "2024-10-22T15:09:53.787Z",
|
||||
"references/js_sdk/modules/js_sdk.auth/page.mdx": "2024-10-22T15:09:53.779Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.collection/page.mdx": "2024-12-09T13:22:00.176Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.cart/page.mdx": "2024-12-09T13:22:00.216Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.customer/page.mdx": "2024-12-09T13:22:00.272Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.fulfillment/page.mdx": "2024-12-23T12:30:33.917Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.order/page.mdx": "2024-12-09T13:22:00.248Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.payment/page.mdx": "2024-12-09T13:22:00.232Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.product/page.mdx": "2024-12-09T13:22:00.192Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.region/page.mdx": "2024-12-09T13:22:00.168Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.collection/page.mdx": "2024-12-26T08:56:58.441Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.cart/page.mdx": "2024-12-26T08:56:58.566Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.customer/page.mdx": "2024-12-26T08:56:58.840Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.fulfillment/page.mdx": "2024-12-26T08:56:58.294Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.order/page.mdx": "2024-12-26T08:56:59.105Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.payment/page.mdx": "2024-12-26T08:56:58.958Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.product/page.mdx": "2024-12-26T08:56:54.620Z",
|
||||
"references/js_sdk/store/Store/properties/js_sdk.store.Store.region/page.mdx": "2024-12-26T08:56:54.620Z",
|
||||
"references/js_sdk/store/classes/js_sdk.store.Store/page.mdx": "2024-11-25T17:49:55.112Z",
|
||||
"references/modules/js_sdk/page.mdx": "2024-10-22T15:09:52.263Z",
|
||||
"references/core_flows/Inventory/Steps_Inventory/functions/core_flows.Inventory.Steps_Inventory.validateInventoryDeleteStep/page.mdx": "2024-12-25T08:43:13.769Z",
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/apiKey
|
||||
sidebar_label: apiKey
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- api key
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/campaign
|
||||
sidebar_label: campaign
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- promotion
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/claim
|
||||
sidebar_label: claim
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- order
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/currency
|
||||
sidebar_label: currency
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- currency
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/customer
|
||||
sidebar_label: customer
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- customer
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/customerGroup
|
||||
sidebar_label: customerGroup
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- customer
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/exchange
|
||||
sidebar_label: exchange
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- order
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/fulfillment
|
||||
sidebar_label: fulfillment
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- fulfillment
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/fulfillmentProvider
|
||||
sidebar_label: fulfillmentProvider
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- fulfillment
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/fulfillmentSet
|
||||
sidebar_label: fulfillmentSet
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- fulfillment
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/inventoryItem
|
||||
sidebar_label: inventoryItem
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- inventory
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/invite
|
||||
sidebar_label: invite
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- user
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/notification
|
||||
sidebar_label: notification
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- notification
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/order
|
||||
sidebar_label: order
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- order
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/orderEdit
|
||||
sidebar_label: orderEdit
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- order
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/payment
|
||||
sidebar_label: payment
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- payment
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/paymentCollection
|
||||
sidebar_label: paymentCollection
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- payment
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/priceList
|
||||
sidebar_label: priceList
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- pricing
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/pricePreference
|
||||
sidebar_label: pricePreference
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- pricing
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/product
|
||||
sidebar_label: product
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- product
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/productCategory
|
||||
sidebar_label: productCategory
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- product
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/productCollection
|
||||
sidebar_label: productCollection
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- product
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/productTag
|
||||
sidebar_label: productTag
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- product
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/productType
|
||||
sidebar_label: productType
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- product
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/productVariant
|
||||
sidebar_label: productVariant
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- product
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/promotion
|
||||
sidebar_label: promotion
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- promotion
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/refundReason
|
||||
sidebar_label: refundReason
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- order
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/region
|
||||
sidebar_label: region
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- region
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/reservation
|
||||
sidebar_label: reservation
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- inventory
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/return
|
||||
sidebar_label: return
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- order
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/returnReason
|
||||
sidebar_label: returnReason
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- order
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/salesChannel
|
||||
sidebar_label: salesChannel
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- sales channel
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/shippingOption
|
||||
sidebar_label: shippingOption
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- fulfillment
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/shippingProfile
|
||||
sidebar_label: shippingProfile
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- fulfillment
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/stockLocation
|
||||
sidebar_label: stockLocation
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- stock location
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/store
|
||||
sidebar_label: store
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- store
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/taxRate
|
||||
sidebar_label: taxRate
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- tax
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/taxRegion
|
||||
sidebar_label: taxRegion
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- tax
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/upload
|
||||
sidebar_label: upload
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- file
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/user
|
||||
sidebar_label: user
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- user
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/admin/workflowExecution
|
||||
sidebar_label: workflowExecution
|
||||
tags:
|
||||
- js sdk
|
||||
- admin
|
||||
- workflow
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+3
@@ -1,6 +1,9 @@
|
||||
---
|
||||
slug: /references/js-sdk/auth/callback
|
||||
sidebar_label: callback
|
||||
tags:
|
||||
- js sdk
|
||||
- auth
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
---
|
||||
slug: /references/js-sdk/auth/login
|
||||
sidebar_label: login
|
||||
tags:
|
||||
- js sdk
|
||||
- auth
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+3
@@ -1,6 +1,9 @@
|
||||
---
|
||||
slug: /references/js-sdk/auth/logout
|
||||
sidebar_label: logout
|
||||
tags:
|
||||
- js sdk
|
||||
- auth
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+3
@@ -1,6 +1,9 @@
|
||||
---
|
||||
slug: /references/js-sdk/auth/refresh
|
||||
sidebar_label: refresh
|
||||
tags:
|
||||
- js sdk
|
||||
- auth
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+3
@@ -1,6 +1,9 @@
|
||||
---
|
||||
slug: /references/js-sdk/auth/register
|
||||
sidebar_label: register
|
||||
tags:
|
||||
- js sdk
|
||||
- auth
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+3
@@ -1,6 +1,9 @@
|
||||
---
|
||||
slug: /references/js-sdk/auth/resetPassword
|
||||
sidebar_label: resetPassword
|
||||
tags:
|
||||
- js sdk
|
||||
- auth
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+3
@@ -1,6 +1,9 @@
|
||||
---
|
||||
slug: /references/js-sdk/auth/updateProvider
|
||||
sidebar_label: updateProvider
|
||||
tags:
|
||||
- js sdk
|
||||
- auth
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
---
|
||||
slug: /references/js-sdk/auth
|
||||
tags:
|
||||
- js sdk
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/store/cart
|
||||
sidebar_label: cart
|
||||
tags:
|
||||
- js sdk
|
||||
- storefront
|
||||
- cart
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/store/category
|
||||
sidebar_label: category
|
||||
tags:
|
||||
- js sdk
|
||||
- storefront
|
||||
- product
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/store/collection
|
||||
sidebar_label: collection
|
||||
tags:
|
||||
- js sdk
|
||||
- storefront
|
||||
- product
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/store/customer
|
||||
sidebar_label: customer
|
||||
tags:
|
||||
- js sdk
|
||||
- storefront
|
||||
- customer
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/store/fulfillment
|
||||
sidebar_label: fulfillment
|
||||
tags:
|
||||
- js sdk
|
||||
- storefront
|
||||
- fulfillment
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/store/order
|
||||
sidebar_label: order
|
||||
tags:
|
||||
- js sdk
|
||||
- storefront
|
||||
- order
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/store/payment
|
||||
sidebar_label: payment
|
||||
tags:
|
||||
- js sdk
|
||||
- storefront
|
||||
- payment
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
+6
-2
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/store/product
|
||||
sidebar_label: product
|
||||
tags:
|
||||
- js sdk
|
||||
- storefront
|
||||
- product
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
@@ -60,7 +64,7 @@ Learn more about the `fields` property in the [API reference](https://docs.medus
|
||||
|
||||
### Parameters
|
||||
|
||||
<TypeList types={[{"name":"query","type":"[StoreProductParams](../../../../../types/HttpTypes/interfaces/types.HttpTypes.StoreProductParams/page.mdx)","description":"Filters and pagination configurations.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"([BaseProductListParams](../../../../../types/interfaces/types.BaseProductListParams/page.mdx) \\| [BaseFilterable](../../../../../types/DAL/interfaces/types.DAL.BaseFilterable/page.mdx)<[BaseProductListParams](../../../../../types/interfaces/types.BaseProductListParams/page.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"([BaseProductListParams](../../../../../types/interfaces/types.BaseProductListParams/page.mdx) \\| [BaseFilterable](../../../../../types/DAL/interfaces/types.DAL.BaseFilterable/page.mdx)<[BaseProductListParams](../../../../../types/interfaces/types.BaseProductListParams/page.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([BaseProductListParams](../../../../../types/interfaces/types.BaseProductListParams/page.mdx) \\| [BaseFilterable](../../../../../types/DAL/interfaces/types.DAL.BaseFilterable/page.mdx)<[BaseProductListParams](../../../../../types/interfaces/types.BaseProductListParams/page.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"The fields and relations to retrieve separated by commas.\n\nLearn more in the [API reference](https://docs.medusajs.com/api/store#select-fields-and-relations).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"The maximum number of items to retrieve.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip before retrieving the returned items.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort by and in which order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"A query or keywords to search the searchable fields by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../../../../types/types/types.ProductStatus/page.mdx) \\| [ProductStatus](../../../../../types/types/types.ProductStatus/page.mdx)[]","description":"Filter the product by status(es).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string` \\| `string`[]","description":"Filter the product by the sales channel(s) it belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string` \\| `string`[]","description":"Filter by the product's title(s).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string` \\| `string`[]","description":"Filter by the product's handle(s).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string` \\| `string`[]","description":"Filter by the product's id(s).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Filter by whether the product is a gift card.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"`string` \\| `string`[]","description":"Filter by the product's tag(s).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"type_id","type":"`string` \\| `string`[]","description":"Filter by the product's type(s).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"category_id","type":"`string` \\| `string`[]","description":"Filter by the product's category(s).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`string` \\| `string`[]","description":"Filter by the product's category(s).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`string` \\| `string`[]","description":"Filter by the product's collection(s).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../../../../types/DAL/types/types.DAL.OperatorMap/page.mdx)<string>","description":"Apply filers on the product's creation date.","optional":true,"defaultValue":"",Line truncated
|
||||
<TypeList types={[{"name":"query","type":"`StoreProductListParams`","description":"Filters and pagination configurations.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"headers","type":"[ClientHeaders](../../../../admin/types/js_sdk.admin.ClientHeaders/page.mdx)","description":"Headers to pass in the request.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"tags","type":"`string`[]","description":"Tags to cache data under for Next.js applications.\n\nLearn more in [Next.js's documentation](https://nextjs.org/docs/app/building-your-application/caching#fetch-optionsnexttags-and-revalidatetag).","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="__type"/>
|
||||
|
||||
### Returns
|
||||
|
||||
@@ -104,7 +108,7 @@ Learn more about the `fields` property in the [API reference](https://docs.medus
|
||||
|
||||
### Parameters
|
||||
|
||||
<TypeList types={[{"name":"id","type":"`string`","description":"The product's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"query","type":"[SelectParams](../../../../../types/HttpTypes/interfaces/types.HttpTypes.SelectParams/page.mdx)","description":"Configure the fields to retrieve in the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"fields","type":"`string`","description":"The fields and relations to retrieve separated by commas.\n\nLearn more in the [API reference](https://docs.medusajs.com/api/store#select-fields-and-relations).","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"headers","type":"[ClientHeaders](../../../../admin/types/js_sdk.admin.ClientHeaders/page.mdx)","description":"Headers to pass in the request","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"tags","type":"`string`[]","description":"Tags to cache data under for Next.js applications.\n\nLearn more in [Next.js's documentation](https://nextjs.org/docs/app/building-your-application/caching#fetch-optionsnexttags-and-revalidatetag).","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="__type"/>
|
||||
<TypeList types={[{"name":"id","type":"`string`","description":"The product's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"query","type":"[StoreProductParams](../../../../../types/HttpTypes/interfaces/types.HttpTypes.StoreProductParams/page.mdx)","description":"Configure the fields to retrieve in the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"([BaseProductListParams](../../../../../types/interfaces/types.BaseProductListParams/page.mdx) \\| [BaseFilterable](../../../../../types/DAL/interfaces/types.DAL.BaseFilterable/page.mdx)<[BaseProductListParams](../../../../../types/interfaces/types.BaseProductListParams/page.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"([BaseProductListParams](../../../../../types/interfaces/types.BaseProductListParams/page.mdx) \\| [BaseFilterable](../../../../../types/DAL/interfaces/types.DAL.BaseFilterable/page.mdx)<[BaseProductListParams](../../../../../types/interfaces/types.BaseProductListParams/page.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([BaseProductListParams](../../../../../types/interfaces/types.BaseProductListParams/page.mdx) \\| [BaseFilterable](../../../../../types/DAL/interfaces/types.DAL.BaseFilterable/page.mdx)<[BaseProductListParams](../../../../../types/interfaces/types.BaseProductListParams/page.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"The fields and relations to retrieve separated by commas.\n\nLearn more in the [API reference](https://docs.medusajs.com/api/store#select-fields-and-relations).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"The maximum number of items to retrieve.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip before retrieving the returned items.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort by and in which order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"A query or keywords to search the searchable fields by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../../../../types/types/types.ProductStatus/page.mdx) \\| [ProductStatus](../../../../../types/types/types.ProductStatus/page.mdx)[]","description":"Filter the product by status(es).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string` \\| `string`[]","description":"Filter the product by the sales channel(s) it belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string` \\| `string`[]","description":"Filter by the product's title(s).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string` \\| `string`[]","description":"Filter by the product's handle(s).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string` \\| `string`[]","description":"Filter by the product's id(s).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Filter by whether the product is a gift card.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"`string` \\| `string`[]","description":"Filter by the product's tag(s).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"type_id","type":"`string` \\| `string`[]","description":"Filter by the product's type(s).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"category_id","type":"`string` \\| `string`[]","description":"Filter by the product's category(s).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`string` \\| `string`[]","description":"Filter by the product's category(s).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`string` \\| `string`[]","description":"Filter by the product's collection(s).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../../../../types/DAL/types/Line truncated
|
||||
|
||||
### Returns
|
||||
|
||||
|
||||
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
slug: /references/js-sdk/store/region
|
||||
sidebar_label: region
|
||||
tags:
|
||||
- js sdk
|
||||
- storefront
|
||||
- region
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
@@ -30,19 +30,32 @@ export const apiKeySidebar = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Server Guides",
|
||||
autogenerate_tags: "server+auth",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the API Key Module in your customizations on the Medusa application server.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
initialOpen: false,
|
||||
autogenerate_tags: "storefront+apiKey",
|
||||
autogenerate_tags: "storefront+apiKey,-jsSdk",
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the API Key Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
initialOpen: false,
|
||||
autogenerate_tags: "admin+apiKey",
|
||||
autogenerate_tags: "admin+apiKey,-jsSdk",
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the API Key Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -50,6 +63,8 @@ export const apiKeySidebar = [
|
||||
initialOpen: false,
|
||||
autogenerate_tags: "userGuide+apiKey",
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage API Key features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -65,10 +80,33 @@ export const apiKeySidebar = [
|
||||
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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -51,6 +51,8 @@ export const authSidebar = [
|
||||
autogenerate_tags: "server+auth",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the Auth Module in your customizations on the Medusa application server.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
@@ -72,16 +74,20 @@ export const authSidebar = [
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+auth",
|
||||
autogenerate_tags: "storefront+auth,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the Auth Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+auth",
|
||||
autogenerate_tags: "admin+auth,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the Auth Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -89,6 +95,8 @@ export const authSidebar = [
|
||||
autogenerate_tags: "userGuides+auth",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage Auth features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -126,10 +134,21 @@ 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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -46,6 +46,8 @@ export const cartSidebar = [
|
||||
autogenerate_tags: "server+cart",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the Cart Module in your customizations on the Medusa application server.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
@@ -57,16 +59,20 @@ export const cartSidebar = [
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+cart",
|
||||
autogenerate_tags: "storefront+cart,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the Cart Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+cart",
|
||||
autogenerate_tags: "admin+cart,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the Cart Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -74,6 +80,8 @@ export const cartSidebar = [
|
||||
autogenerate_tags: "userGuides+cart",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage Cart features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -89,10 +97,33 @@ export const cartSidebar = [
|
||||
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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -31,20 +31,26 @@ export const currencySidebar = [
|
||||
autogenerate_tags: "server+currency",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the Currency Module in your customizations on the Medusa application server.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+currency",
|
||||
autogenerate_tags: "storefront+currency,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the Currency Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+currency",
|
||||
autogenerate_tags: "admin+currency,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the Currency Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -52,6 +58,8 @@ export const currencySidebar = [
|
||||
autogenerate_tags: "userGuides+currency",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage Currency features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -67,10 +75,33 @@ export const currencySidebar = [
|
||||
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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -36,6 +36,8 @@ export const customerSidebar = [
|
||||
autogenerate_tags: "server+customer",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the Customer Module in your customizations on the Medusa application server.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
@@ -47,16 +49,20 @@ export const customerSidebar = [
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+customer",
|
||||
autogenerate_tags: "storefront+customer,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the Customer Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+customer",
|
||||
autogenerate_tags: "admin+customer,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the Customer Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -64,6 +70,8 @@ export const customerSidebar = [
|
||||
autogenerate_tags: "userGuides+customer",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage Customer features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -79,10 +87,33 @@ export const customerSidebar = [
|
||||
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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -56,6 +56,8 @@ export const fulfillmentSidebar = [
|
||||
autogenerate_tags: "server+fulfillment",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the Fulfillment Module in your customizations on the Medusa application server.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
@@ -72,16 +74,20 @@ export const fulfillmentSidebar = [
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+fulfillment",
|
||||
autogenerate_tags: "storefront+fulfillment,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the Fulfillment Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+fulfillment",
|
||||
autogenerate_tags: "admin+fulfillment,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the Fulfillment Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -89,6 +95,8 @@ export const fulfillmentSidebar = [
|
||||
autogenerate_tags: "userGuides+fulfillment",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage Fulfillment features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -104,10 +112,33 @@ export const fulfillmentSidebar = [
|
||||
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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -41,20 +41,26 @@ export const inventorySidebar = [
|
||||
autogenerate_tags: "server+inventory",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the Inventory Module in your customizations on the Medusa application server.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+inventory",
|
||||
autogenerate_tags: "storefront+inventory,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the Inventory Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+inventory",
|
||||
autogenerate_tags: "admin+inventory,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the Inventory Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -62,6 +68,8 @@ export const inventorySidebar = [
|
||||
autogenerate_tags: "userGuides+inventory",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage Inventory features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -77,10 +85,33 @@ export const inventorySidebar = [
|
||||
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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -81,20 +81,26 @@ export const orderSidebar = [
|
||||
autogenerate_tags: "server+order",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the Order Module in your customizations on the Medusa application server.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+order",
|
||||
autogenerate_tags: "storefront+order,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the Order Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+order",
|
||||
autogenerate_tags: "admin+order,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the Order Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -102,6 +108,8 @@ export const orderSidebar = [
|
||||
autogenerate_tags: "userGuides+order",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage Order features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -117,10 +125,33 @@ export const orderSidebar = [
|
||||
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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -61,6 +61,8 @@ export const paymentSidebar = [
|
||||
autogenerate_tags: "server+payment",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the Payment Module in your customizations on the Medusa application server.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
@@ -77,16 +79,20 @@ export const paymentSidebar = [
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+payment",
|
||||
autogenerate_tags: "storefront+payment,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the Payment Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+payment",
|
||||
autogenerate_tags: "admin+payment,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the Payment Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -94,6 +100,8 @@ export const paymentSidebar = [
|
||||
autogenerate_tags: "userGuides+payment",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage Payment features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -121,10 +129,33 @@ 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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -51,20 +51,26 @@ export const pricingSidebar = [
|
||||
autogenerate_tags: "server+pricing",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the Pricing Module in your customizations on the Medusa application server.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+pricing",
|
||||
autogenerate_tags: "storefront+pricing,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the Pricing Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+pricing",
|
||||
autogenerate_tags: "admin+pricing,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the Pricing Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -72,6 +78,8 @@ export const pricingSidebar = [
|
||||
autogenerate_tags: "userGuides+pricing",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage Pricing features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -87,10 +95,33 @@ export const pricingSidebar = [
|
||||
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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -31,6 +31,8 @@ export const productSidebar = [
|
||||
autogenerate_tags: "server+product",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the Product Module in your customizations on the Medusa application server.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
@@ -52,16 +54,20 @@ export const productSidebar = [
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+product",
|
||||
autogenerate_tags: "storefront+product,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the Product Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+product",
|
||||
autogenerate_tags: "admin+product,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the Product Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -69,6 +75,8 @@ export const productSidebar = [
|
||||
autogenerate_tags: "userGuides+product",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage Product features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -84,10 +92,33 @@ export const productSidebar = [
|
||||
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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -51,6 +51,8 @@ export const promotionSidebar = [
|
||||
autogenerate_tags: "server+promotion",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the Promotion Module in your customizations on the Medusa application server.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
@@ -62,16 +64,20 @@ export const promotionSidebar = [
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+promotion",
|
||||
autogenerate_tags: "storefront+promotion,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the Promotion Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+promotion",
|
||||
autogenerate_tags: "admin+promotion,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the Promotion Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -79,6 +85,8 @@ export const promotionSidebar = [
|
||||
autogenerate_tags: "userGuides+promotion",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage Promotion features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -94,10 +102,33 @@ export const promotionSidebar = [
|
||||
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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -31,20 +31,26 @@ export const regionSidebar = [
|
||||
autogenerate_tags: "server+region",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the Region Module in your customizations on the Medusa application server.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+region",
|
||||
autogenerate_tags: "storefront+region,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the Region Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+region",
|
||||
autogenerate_tags: "admin+region,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the Region Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -52,6 +58,8 @@ export const regionSidebar = [
|
||||
autogenerate_tags: "userGuides+region",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage Region features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -67,10 +75,33 @@ export const regionSidebar = [
|
||||
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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -36,20 +36,26 @@ export const salesChannelSidebar = [
|
||||
autogenerate_tags: "server+salesChannel",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the Sales Channel Module in your customizations on the Medusa application server.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+salesChannel",
|
||||
autogenerate_tags: "storefront+salesChannel,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the Sales Channel Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+salesChannel",
|
||||
autogenerate_tags: "admin+salesChannel,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the Sales Channel Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -57,6 +63,8 @@ export const salesChannelSidebar = [
|
||||
autogenerate_tags: "userGuides+salesChannel",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage Sales Channel features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -72,10 +80,33 @@ export const salesChannelSidebar = [
|
||||
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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -36,20 +36,26 @@ export const stockLocationSidebar = [
|
||||
autogenerate_tags: "server+stockLocation",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the Stock Location Module in your customizations on the Medusa application server.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+stockLocation",
|
||||
autogenerate_tags: "storefront+stockLocation,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the Stock Location Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+stockLocation",
|
||||
autogenerate_tags: "admin+stockLocation,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the Stock Location Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -57,6 +63,8 @@ export const stockLocationSidebar = [
|
||||
autogenerate_tags: "userGuides+stockLocation",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage Stock Location features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -72,10 +80,33 @@ export const stockLocationSidebar = [
|
||||
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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -31,20 +31,26 @@ export const storeSidebar = [
|
||||
autogenerate_tags: "server+store",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the Store Module in your customizations on the Medusa application server.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+store",
|
||||
autogenerate_tags: "storefront+store,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the Store Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+store",
|
||||
autogenerate_tags: "admin+store,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the Store Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -52,6 +58,8 @@ export const storeSidebar = [
|
||||
autogenerate_tags: "userGuides+store",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage Store features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -67,10 +75,33 @@ export const storeSidebar = [
|
||||
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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -46,6 +46,8 @@ export const taxSidebar = [
|
||||
autogenerate_tags: "server+tax",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the Tax Module in your customizations on the Medusa application server.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
@@ -57,16 +59,20 @@ export const taxSidebar = [
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+tax",
|
||||
autogenerate_tags: "storefront+tax,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the Tax Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+tax",
|
||||
autogenerate_tags: "admin+tax,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the Tax Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -74,6 +80,8 @@ export const taxSidebar = [
|
||||
autogenerate_tags: "userGuides+tax",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage Tax features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -89,10 +97,33 @@ export const taxSidebar = [
|
||||
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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -24,6 +24,8 @@ export const userSidebar = [
|
||||
autogenerate_tags: "server+user",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to use the User Module in your customizations on the Medusa application server.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
@@ -35,16 +37,20 @@ export const userSidebar = [
|
||||
{
|
||||
type: "category",
|
||||
title: "Storefront Guides",
|
||||
autogenerate_tags: "storefront+user",
|
||||
autogenerate_tags: "storefront+user,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to integrate the User Module's features into your storefront.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin Guides",
|
||||
autogenerate_tags: "admin+user",
|
||||
autogenerate_tags: "admin+user,-jsSdk",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize administative features of the User Module.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -52,6 +58,8 @@ export const userSidebar = [
|
||||
autogenerate_tags: "userGuides+user",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
description:
|
||||
"Learn how to utilize and manage User features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
@@ -67,10 +75,33 @@ export const userSidebar = [
|
||||
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.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
Reference in new issue
Block a user