docs: Replace api_key_id with publishable_key_id (#12242)

<img width="1000" alt="image" src="https://github.com/user-attachments/assets/885395f0-0c74-4cf3-a39b-8d6d97ed0a9c" />
This commit is contained in:
Rick Gao
2025-04-21 21:32:03 +08:00
committed by GitHub
parent 4b55c4fb57
commit 38710c116e
2 changed files with 5 additions and 5 deletions

View File

@@ -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({
```
</CodeTab>
</CodeTabs>
</CodeTabs>

View File

@@ -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",