From 38710c116e91a9f340cab6344696133919741195 Mon Sep 17 00:00:00 2001 From: Rick Gao Date: Mon, 21 Apr 2025 21:32:03 +0800 Subject: [PATCH] docs: Replace api_key_id with publishable_key_id (#12242) image --- .../api-key/links-to-other-modules/page.mdx | 6 +++--- .../sales-channel/links-to-other-modules/page.mdx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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",