此外,要求也必須包含有效的 linkType,說明提出要求的購物合作夥伴類型。系統會為購物合作夥伴指派下列其中一個標籤,合作夥伴在呼叫 API 時,應在 linkType 欄位中使用指定標籤。
有效的 linkTypes
channelPartner
eCommercePlatform
範例
下列 API 呼叫會從合作夥伴的帳戶 (123456789) 向商家傳送連結要求,商家 ID 為 linkedAccountId,商家名稱為 "98765"。
"eCommercePlatform"linkType 可將合作夥伴識別為電子商務平台。services 清單表示合作夥伴提供"shoppingAdsProductManagement" (購物廣告的產品資料管理服務) 和"shoppingActionsOrderManagement" (Buy on Google 的訂單管理服務,舊稱購物行動) 功能。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-08-13 (世界標準時間)。"],[],["The Merchant API beta, a new version of the Content API for Shopping, is introduced. Shopping partners must use the `accounts.link` method to request a link to a merchant account. This requires specifying the `linkedAccountId` of the merchant, the `linkType` (e.g., `channelPartner`, `eCommercePlatform`), the provided `services` (e.g., `shoppingAdsProductManagement`), and an `action` of `request`. The link requires the receiving merchant's approval to be established. An example API call is provided.\n"],null,[]]