Merchants can remove a link
at any time by visiting the Partners tab
in Google Merchant Center. Partners can remove links programmatically using the
remove
action of the accounts.link
method. Once a link is removed, it no longer exists and must be re-requested
and re-approved again.
Just as approve
actions can selectively choose which services
to
make active, a remove
action can also act on a subset of the services
list.
Example
Continuing the example from the previous sections, a merchant account 98765
can remove the link to partner 123456789
by sending a request specifying
"action": "remove"
.
POST https://shoppingcontent.googleapis.com/content/v2.1/98765/accounts/98765/link
{
"linkedAccountId": "123456789",
"linkType": "eCommercePlatform",
"services": ["shoppingAdsProductManagement"],
"action": "remove"
}