批准关联

合作伙伴发送关联请求后,接收方商家必须批准该关联,然后关联才会生效。这通常通过在 Google Merchant Center 的合作伙伴标签页中批准请求来完成。不过,您还可以使用 accounts.link 方法以编程方式批准链接。

示例

如需批准请求关联示例中合作伙伴 123456789 发送的关联,客户商家 98765 可以发送 approve 操作,并将 linkedAccountId 设置为合作伙伴 ID 123456789

请注意,services 列表仅包含示例请求中最初请求的两项服务之一。这将选择性地批准 shoppingAdsProductManagement 服务,并将关联 shoppingActionsOrderManagement 服务的请求留给 pending 状态。

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

下一部分将介绍如何移除现有链接。