@@ -43,7 +43,7 @@ You can create a sales channel through the Medusa Admin or Admin REST APIs.
|
||||
}
|
||||
},
|
||||
{
|
||||
href: "!api!/api/admin#sales-channels_postsaleschannels",
|
||||
href: "!api!/admin#sales-channels_postsaleschannels",
|
||||
title: "Option 2: Using the REST APIs",
|
||||
text: "Create the sales channel using the REST APIs.",
|
||||
icon: AcademicCapSolid,
|
||||
@@ -79,7 +79,7 @@ You can create a publishable API key through the Medusa Admin or the Admin REST
|
||||
}
|
||||
},
|
||||
{
|
||||
href: "!api!/api/admin#api-keys_postapikeys",
|
||||
href: "!api!/admin#api-keys_postapikeys",
|
||||
title: "Option 2: Using the REST APIs",
|
||||
text: "Create the publishable API key using the REST APIs.",
|
||||
icon: AcademicCapSolid,
|
||||
@@ -131,7 +131,7 @@ You can create new products or add existing ones to the B2B sales channel using
|
||||
}
|
||||
},
|
||||
{
|
||||
href: "!api!/api/admin#products_postproducts",
|
||||
href: "!api!/admin#products_postproducts",
|
||||
title: "Using REST APIs",
|
||||
text: "Create products using the REST APIs.",
|
||||
icon: AcademicCapSolid,
|
||||
@@ -154,7 +154,7 @@ You can create new products or add existing ones to the B2B sales channel using
|
||||
}
|
||||
},
|
||||
{
|
||||
href: "!api!/api/admin#sales-channels_postsaleschannelsidproductsbatchadd",
|
||||
href: "!api!/admin#sales-channels_postsaleschannelsidproductsbatchadd",
|
||||
title: "Using REST APIs",
|
||||
text: "Add the products to the B2B sales channel using the REST APIs.",
|
||||
icon: AcademicCapSolid,
|
||||
@@ -455,7 +455,7 @@ export const workflowHighlights = [
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Next, make sure you authenticate as an admin user as explained in [this Authentication guide](!api!/api/admin#authentication).
|
||||
Next, make sure you authenticate as an admin user as explained in [this Authentication guide](!api!/admin#authentication).
|
||||
|
||||
Then, send a `POST` request to the `/admin/b2b/company` API route:
|
||||
|
||||
@@ -505,7 +505,7 @@ You can do that through the Medusa Admin or Admin REST APIs.
|
||||
}
|
||||
},
|
||||
{
|
||||
href: "!api!/api/admin#customers_postcustomers",
|
||||
href: "!api!/admin#customers_postcustomers",
|
||||
title: "Option 2: Using the REST APIs",
|
||||
text: "Create the customers using the REST APIs.",
|
||||
icon: AcademicCapSolid,
|
||||
@@ -528,7 +528,7 @@ You can do that through the Medusa Admin or Admin REST APIs.
|
||||
}
|
||||
},
|
||||
{
|
||||
href: "!api!/api/admin#customer-groups_postcustomergroupsidcustomersbatch",
|
||||
href: "!api!/admin#customer-groups_postcustomergroupsidcustomersbatch",
|
||||
title: "Option 2: Using the REST APIs",
|
||||
text: "Assign the customers to the B2B customer group using the REST APIs.",
|
||||
icon: AcademicCapSolid,
|
||||
@@ -557,7 +557,7 @@ You can create a price list using the Medusa Admin or the Admin REST APIs. Make
|
||||
}
|
||||
},
|
||||
{
|
||||
href: "!api!/api/admin#price-lists_postpricelists",
|
||||
href: "!api!/admin#price-lists_postpricelists",
|
||||
title: "Using REST APIs",
|
||||
text: "Create the price list using the REST APIs.",
|
||||
icon: AcademicCapSolid,
|
||||
@@ -767,7 +767,7 @@ Use the publishable API key you associated with your B2B sales channel in the st
|
||||
]} />
|
||||
|
||||
<Card
|
||||
href="!api!/api/store#publishable-api-key"
|
||||
href="!api!/store#publishable-api-key"
|
||||
title="Use Publishable API Keys"
|
||||
text="Learn how to use the publishable API key in client requests."
|
||||
icon={AcademicCapSolid}
|
||||
|
||||
@@ -139,7 +139,7 @@ export const generatedEditDates = {
|
||||
"app/medusa-container-resources/page.mdx": "2024-08-05T07:24:27+00:00",
|
||||
"app/medusa-workflows-reference/page.mdx": "2024-08-15T12:13:13+03:00",
|
||||
"app/nextjs-starter/page.mdx": "2024-07-01T10:21:19+03:00",
|
||||
"app/recipes/b2b/page.mdx": "2024-07-03T19:27:13+03:00",
|
||||
"app/recipes/b2b/page.mdx": "2024-08-29T09:23:12.736Z",
|
||||
"app/recipes/commerce-automation/page.mdx": "2024-08-05T07:24:27+00:00",
|
||||
"app/recipes/digital-products/examples/standard/page.mdx": "2024-08-16T09:28:31+03:00",
|
||||
"app/recipes/digital-products/page.mdx": "2024-08-02T13:02:06+00:00",
|
||||
|
||||
@@ -2314,7 +2314,7 @@ export const generatedSidebar = [
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"path": "/references/inventory_next",
|
||||
"path": "/references/inventory-next",
|
||||
"title": "Main Service Reference",
|
||||
"isChildSidebar": true,
|
||||
"childSidebarTitle": "Inventory Module's Main Service Reference",
|
||||
@@ -2614,7 +2614,7 @@ export const generatedSidebar = [
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"path": "/references/inventory_next/models",
|
||||
"path": "/references/inventory-next/models",
|
||||
"title": "Data Models Reference",
|
||||
"isChildSidebar": true,
|
||||
"childSidebarTitle": "Inventory Module Data Models Reference",
|
||||
@@ -6537,7 +6537,7 @@ export const generatedSidebar = [
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"path": "/references/stock-location",
|
||||
"path": "/references/stock-location-next",
|
||||
"title": "Main Service Reference",
|
||||
"isChildSidebar": true,
|
||||
"childSidebarTitle": "Stock Location Module's Main Service Reference",
|
||||
@@ -6629,7 +6629,7 @@ export const generatedSidebar = [
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"path": "/references/stock-location/models",
|
||||
"path": "/references/stock-location-next/models",
|
||||
"title": "Data Models Reference",
|
||||
"isChildSidebar": true,
|
||||
"childSidebarTitle": "Stock Location Module Data Models Reference",
|
||||
|
||||
@@ -560,7 +560,7 @@ export const sidebar = sidebarAttachHrefCommonOptions([
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
path: "/references/inventory_next",
|
||||
path: "/references/inventory-next",
|
||||
title: "Main Service Reference",
|
||||
isChildSidebar: true,
|
||||
childSidebarTitle: "Inventory Module's Main Service Reference",
|
||||
@@ -575,7 +575,7 @@ export const sidebar = sidebarAttachHrefCommonOptions([
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/references/inventory_next/models",
|
||||
path: "/references/inventory-next/models",
|
||||
title: "Data Models Reference",
|
||||
isChildSidebar: true,
|
||||
childSidebarTitle: "Inventory Module Data Models Reference",
|
||||
@@ -1247,7 +1247,7 @@ export const sidebar = sidebarAttachHrefCommonOptions([
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
path: "/references/stock-location",
|
||||
path: "/references/stock-location-next",
|
||||
title: "Main Service Reference",
|
||||
isChildSidebar: true,
|
||||
childSidebarTitle:
|
||||
@@ -1263,7 +1263,7 @@ export const sidebar = sidebarAttachHrefCommonOptions([
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/references/stock-location/models",
|
||||
path: "/references/stock-location-next/models",
|
||||
title: "Data Models Reference",
|
||||
isChildSidebar: true,
|
||||
childSidebarTitle:
|
||||
|
||||
Reference in New Issue
Block a user