diff --git a/www/apps/resources/app/commerce-modules/api-key/links-to-other-modules/page.mdx b/www/apps/resources/app/commerce-modules/api-key/links-to-other-modules/page.mdx index 9484a1c5a3..7a01312ba1 100644 --- a/www/apps/resources/app/commerce-modules/api-key/links-to-other-modules/page.mdx +++ b/www/apps/resources/app/commerce-modules/api-key/links-to-other-modules/page.mdx @@ -112,7 +112,7 @@ import { Modules } from "@medusajs/framework/utils" await link.create({ [Modules.API_KEY]: { - api_key_id: "apk_123", + publishable_key_id: "apk_123", }, [Modules.SALES_CHANNEL]: { sales_channel_id: "sc_123", @@ -131,7 +131,7 @@ import { createRemoteLinkStep } from "@medusajs/medusa/core-flows" createRemoteLinkStep({ [Modules.API_KEY]: { - api_key_id: "apk_123", + publishable_key_id: "apk_123", }, [Modules.SALES_CHANNEL]: { sales_channel_id: "sc_123", @@ -140,4 +140,4 @@ createRemoteLinkStep({ ``` - \ No newline at end of file + diff --git a/www/apps/resources/app/commerce-modules/sales-channel/links-to-other-modules/page.mdx b/www/apps/resources/app/commerce-modules/sales-channel/links-to-other-modules/page.mdx index 1be41a3361..0c7f970ad1 100644 --- a/www/apps/resources/app/commerce-modules/sales-channel/links-to-other-modules/page.mdx +++ b/www/apps/resources/app/commerce-modules/sales-channel/links-to-other-modules/page.mdx @@ -172,7 +172,7 @@ import { Modules } from "@medusajs/framework/utils" await link.create({ [Modules.API_KEY]: { - api_key_id: "apk_123", + publishable_key_id: "apk_123", }, [Modules.SALES_CHANNEL]: { sales_channel_id: "sc_123", @@ -191,7 +191,7 @@ import { createRemoteLinkStep } from "@medusajs/medusa/core-flows" createRemoteLinkStep({ [Modules.API_KEY]: { - api_key_id: "apk_123", + publishable_key_id: "apk_123", }, [Modules.SALES_CHANNEL]: { sales_channel_id: "sc_123",