移除链接
商家可以移除链接
随时访问合作伙伴标签页
。合作伙伴可以使用
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"
}
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-29。
[null,null,["最后更新时间 (UTC):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"]]