移除連結

商家可以隨時前往 Google Merchant Center 的「合作夥伴」分頁移除連結。合作夥伴可以使用 accounts.link 方法的 remove 動作,透過程式輔助方式移除連結。連結移除後,就不再存在,必須重新要求或重新核准。

就像 approve 動作可以選擇性地選擇要啟用的 servicesremove 動作也可以對 services 清單的子集執行動作。

範例

延續上一節的範例,商家帳戶 98765 可以傳送指定 "action": "remove" 的要求,移除與合作夥伴 123456789 的連結。

POST https://shoppingcontent.googleapis.com/content/v2.1/98765/accounts/98765/link
{
  "linkedAccountId": "123456789",
  "linkType": "eCommercePlatform",
  "services": ["shoppingAdsProductManagement"],
  "action": "remove"
}