Remove links

  • 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.

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"
}