移除連結
商家可以移除連結
你隨時可以前往「合作夥伴」分頁
查看 Google Merchant Center 中的產品資訊合作夥伴可以使用
「accounts.link
」的remove
動作
方法。連結移除後即不存在,必須重新要求
並重新核准
就像 approve
動作一樣,您也可以選擇選擇要對 services
執行的動作
設為啟用,remove
動作也可以對 services
清單的一部分執行操作。
範例
延續上一節的例子,商家帳戶 98765
如要移除與合作夥伴「123456789
」的連結,請傳送指定
"action": "remove"
。
POST https://shoppingcontent.googleapis.com/content/v2.1/98765/accounts/98765/link
{
"linkedAccountId": "123456789",
"linkType": "eCommercePlatform",
"services": ["shoppingAdsProductManagement"],
"action": "remove"
}
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-29 (世界標準時間)。
[null,null,["上次更新時間:2024-08-29 (世界標準時間)。"],[[["The Merchant API is the new version of the Content API for Shopping and represents the future of the platform."],["Merchants can remove account links via the Google Merchant Center or programmatically using the `accounts.link` method's `remove` action."],["Removed links cease to exist and require re-requesting and re-approval for reinstatement."],["Similar to `approve` actions, `remove` actions offer granular control, allowing for the selection of specific services to be deactivated."]]],["The beta version of the Merchant API, the new Content API for Shopping, is introduced. Merchants can remove links with partners via the \"Partners\" tab in Google Merchant Center. Partners can programmatically remove links using the `accounts.link` method's `remove` action. The `remove` action, like `approve`, can target specific services. An example illustrates removing a link to a partner, using the POST method, including the linked account ID, link type, specific service and action.\n"]]