diff --git a/www/apps/resources/app/recipes/b2b/page.mdx b/www/apps/resources/app/recipes/b2b/page.mdx index af14f265b8..425add5ce1 100644 --- a/www/apps/resources/app/recipes/b2b/page.mdx +++ b/www/apps/resources/app/recipes/b2b/page.mdx @@ -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 ]} />