rocket
Meet
Merchant API
- the official successor to Content API for Shopping.
update
עדכונים אחרונים
לגבי תכונות חדשות, תיקוני באגים וגרסאות חדשות של Merchant API
add_alert
הערה: אנחנו נוציא משימוש את Content API for Shopping ב-18 באוגוסט 2026.
הסרת קישורים
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מוֹכרים יכולים להסיר קישור בכל שלב דרך הכרטיסייה שותפים ב-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 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-13 (שעון UTC).
[null,null,["עדכון אחרון: 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 }"]]