Accounts: link

Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId. Try it now.


HTTP request



Parameter name Value Description
Path parameters
accountId unsigned long The ID of the account that should be linked.
merchantId unsigned long The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.


This request requires authorization with the following scope:


Request body

In the request body, supply data with the following structure:

  "linkedAccountId": string,
  "linkType": string,
  "action": string,
  "services": [
Property name Value Description Notes
linkedAccountId string The ID of the linked account.
linkType string Type of the link between the two accounts.

Acceptable values are:
  • "channelPartner"
  • "eCommercePlatform"
action string Action to perform for this link. The "request" action is only available to select merchants.

Acceptable values are:
  • "approve"
  • "remove"
  • "request"
services[] list List of provided services.


If successful, this method returns a response body with the following structure:

  "kind": "content#accountsLinkResponse"
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "content#accountsLinkResponse".

Try it!

Use the APIs Explorer below to call this method on live data and see the response.