批准关联

合作伙伴发送关联请求后,接收商家必须先批准关联,关联才能生效。通常,您可以在 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"
}

下一部分介绍了如何移除现有关联。