移除链接

商家可以随时通过访问 Google Merchant Center 中的合作伙伴标签页来解除关联。合作伙伴可以使用 accounts.link 方法的 remove 操作以编程方式移除链接。关联一经移除,它就会不再存在,必须重新请求并重新批准。

正如 approve 操作可以选择性地选择要激活的 services 一样,remove 操作也可以对 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"
}