rocket
Meet
Merchant API
- the official successor to Content API for Shopping.
update
Get the latest
on new Merchant API features, bug fixes, and updates.
add_alert
Note: Content API for Shopping will be sunset on August 18, 2026.
Remove links
Stay organized with collections
Save and categorize content based on your preferences.
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"
}
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-13 UTC.
[null,null,["Last updated 2025-08-13 UTC."],[[["\u003cp\u003eThe Merchant API is the new version of the Content API for Shopping and represents the future of the platform.\u003c/p\u003e\n"],["\u003cp\u003eMerchants can remove account links via the Google Merchant Center or programmatically using the \u003ccode\u003eaccounts.link\u003c/code\u003e method's \u003ccode\u003eremove\u003c/code\u003e action.\u003c/p\u003e\n"],["\u003cp\u003eRemoved links cease to exist and require re-requesting and re-approval for reinstatement.\u003c/p\u003e\n"],["\u003cp\u003eSimilar to \u003ccode\u003eapprove\u003c/code\u003e actions, \u003ccode\u003eremove\u003c/code\u003e actions offer granular control, allowing for the selection of specific services to be deactivated.\u003c/p\u003e\n"]]],["The beta version of the Merchant API, the new Content API for Shopping, is introduced. Merchants can remove links with partners via the \"Partners\" tab in Google Merchant Center. Partners can programmatically remove links using the `accounts.link` method's `remove` action. The `remove` action, like `approve`, can target specific services. An example illustrates removing a link to a partner, using the POST method, including the linked account ID, link type, specific service and action.\n"],null,["# Remove links\n\nMerchants can [remove a link](//support.google.com/merchants/answer/9440376)\nat any time by visiting the **Partners** tab\nin Google Merchant Center. Partners can remove links programmatically using the\n`remove` action of the [`accounts.link`](/shopping-content/reference/rest/v2.1/accounts/link)\nmethod. Once a link is removed, it no longer exists and must be re-requested\nand re-approved again.\n\nJust as [`approve`](/shopping-content/guides/flagging/approve) actions can selectively choose which `services` to\nmake active, a `remove` action can also act on a subset of the `services` list.\n\nExample\n-------\n\nContinuing the example from the previous sections, a merchant account `98765`\ncan remove the link to partner `123456789` by sending a request specifying\n`\"action\": \"remove\"`. \n\n POST https://shoppingcontent.googleapis.com/content/v2.1/98765/accounts/98765/link\n {\n \"linkedAccountId\": \"123456789\",\n \"linkType\": \"eCommercePlatform\",\n \"services\": [\"shoppingAdsProductManagement\"],\n \"action\": \"remove\"\n }"]]