rocket Meet
Merchant API - جانشین رسمی Content API برای خرید.
update جدیدترین ویژگیهای Merchant API، رفع اشکالها و بهروزرسانیها
را دریافت کنید .
add_alert توجه: Content API برای خرید در 18 اوت 2026 غروب میکند.
پیوندها را حذف کنید
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
بازرگانان می توانند در هر زمان با مراجعه به برگه Partners در Google Merchant Center، پیوندی را حذف کنند . شرکا می توانند پیوندها را به صورت برنامه ریزی شده با استفاده از عمل remove
از روش accounts.link
حذف کنند. پس از حذف یک پیوند، دیگر وجود ندارد و باید دوباره درخواست شود و دوباره تایید شود.
همانطور که اقدامات approve
میتواند بهطور انتخابی انتخاب کند که کدام services
را فعال کند، یک اقدام remove
نیز میتواند در زیرمجموعهای از فهرست services
عمل کند.
مثال
در ادامه مثال از بخشهای قبلی، یک حساب تجاری 98765
میتواند پیوند شریک 123456789
را با ارسال یک درخواست با مشخص کردن "action": "remove"
.
POST https://shoppingcontent.googleapis.com/content/v2.1/98765/accounts/98765/link
{
"linkedAccountId": "123456789",
"linkType": "eCommercePlatform",
"services": ["shoppingAdsProductManagement"],
"action": "remove"
}
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-13 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-13 بهوقت ساعت هماهنگ جهانی."],[[["\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 }"]]