সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি বণিক অ্যাকাউন্টের সাথে সম্পর্ক ফ্ল্যাগ করতে, একটি শপিং অংশীদারকে প্রথমে একটি লিঙ্ক করার অনুরোধ পাঠাতে accounts.link পদ্ধতি ব্যবহার করতে হবে।
লিঙ্কের অনুরোধে একটি linkedAccountId থাকে যা অনুরোধ প্রাপ্ত বণিককে শনাক্ত করে এবং একটি action ধরনের request থাকে। প্রতিটি লিঙ্কে services একটি সেটও নির্দিষ্ট করা উচিত যা অংশীদার বণিককে কোন বৈশিষ্ট্যগুলি প্রদান করে তা গণনা করে৷ নিম্নলিখিত services মানগুলি সমর্থিত।
সেবা
বর্ণনা
shoppingAdsProductManagement
শপিং বিজ্ঞাপনের জন্য পণ্য ডেটা ব্যবস্থাপনা
shoppingActionsProductManagement
Buy on Google-এর জন্য প্রোডাক্ট ডেটা ম্যানেজমেন্ট (আগে শপিং অ্যাকশন নামে পরিচিত)
shoppingActionsOrderManagement
Buy on Google এর জন্য অর্ডার ম্যানেজমেন্ট (আগে শপিং অ্যাকশন নামে পরিচিত)
উপরন্তু, একটি অনুরোধে অবশ্যই একটি বৈধ linkType থাকতে হবে যা শপিং পার্টনারের অনুরোধের ধরন বর্ণনা করে। কেনাকাটার অংশীদারদের নিম্নলিখিত লেবেলগুলির মধ্যে একটি বরাদ্দ করা হয়েছে এবং API কল করার সময় linkType ক্ষেত্রে তাদের মনোনীত লেবেল ব্যবহার করা উচিত৷
বৈধ লিঙ্ক প্রকার
channelPartner
eCommercePlatform
উদাহরণ
নিম্নলিখিত API কলটি একটি অংশীদারের অ্যাকাউন্ট 123456789 থেকে "98765"linkedAccountId আইডি সহ একজন বণিককে একটি লিঙ্ক অনুরোধ পাঠায়।
"eCommercePlatform"linkType অংশীদারকে একটি ই-কমার্স প্ল্যাটফর্ম হিসেবে চিহ্নিত করে। services তালিকাটি নির্দেশ করে যে অংশীদার "shoppingAdsProductManagement" (শপিং বিজ্ঞাপনের জন্য পণ্য ডেটা ম্যানেজমেন্ট) এবং "shoppingActionsOrderManagement" (Google-এ কেনার জন্য অর্ডার ম্যানেজমেন্ট, আগে শপিং অ্যাকশন নামে পরিচিত) বৈশিষ্ট্যগুলি প্রদান করে।
[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\u003eTo establish a relationship, partners must send a linking request using the \u003ccode\u003eaccounts.link\u003c/code\u003e method, specifying the desired services and partner type.\u003c/p\u003e\n"],["\u003cp\u003eThe link request requires approval from the receiving merchant before it becomes fully established.\u003c/p\u003e\n"],["\u003cp\u003ePartners can be categorized as either \u003ccode\u003echannelPartner\u003c/code\u003e or \u003ccode\u003eeCommercePlatform\u003c/code\u003e and must use their designated \u003ccode\u003elinkType\u003c/code\u003e in the API call.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eservices\u003c/code\u003e field allows partners to indicate the specific features they offer to merchants, such as product and order management.\u003c/p\u003e\n"]]],["The Merchant API beta, a new version of the Content API for Shopping, is introduced. Shopping partners must use the `accounts.link` method to request a link to a merchant account. This requires specifying the `linkedAccountId` of the merchant, the `linkType` (e.g., `channelPartner`, `eCommercePlatform`), the provided `services` (e.g., `shoppingAdsProductManagement`), and an `action` of `request`. The link requires the receiving merchant's approval to be established. An example API call is provided.\n"],null,["# Request links\n\nTo flag a relationship with a merchant account, a Shopping partner must first\nuse the [`accounts.link`](/shopping-content/reference/rest/v2.1/accounts/link)\nmethod to send a linking request.\n| **Note:** The link is not fully established until the receiving merchant approves the request.\n\nThe link request contains a [`linkedAccountId`](/shopping-content/reference/rest/v2.1/accounts/link#linkedAccountId)\nthat identifies the merchant receiving the request and has an [`action`](/shopping-content/reference/rest/v2.1/accounts/link#action)\ntype of `request`. Each link should also specificy a set of [`services`](/shopping-content/reference/rest/v2.1/accounts/link#linkType)\nthat enumerates which features the partner provides to the merchant. The following\n[`services`](/shopping-content/reference/rest/v2.1/accounts/link#linkType) values\nare supported.\n\n| Service | Description |\n|------------------------------------|--------------------------------------------------------------------------------|\n| `shoppingAdsProductManagement` | Product data management for Shopping ads |\n| `shoppingActionsProductManagement` | Product data management for Buy on Google (formerly known as Shopping Actions) |\n| `shoppingActionsOrderManagement` | Order management for Buy on Google (formerly known as Shopping Actions) |\n\nAdditionally, a request must also contain a valid [`linkType`](/shopping-content/reference/rest/v2.1/accounts/link#linkType)\nthat describes the type of Shopping partner making the request. Shopping\npartners are assigned one of the following labels and should use their designated\nlabel in the `linkType` field when calling the API.\n\n| Valid linkTypes |\n|---------------------|\n| `channelPartner` |\n| `eCommercePlatform` |\n\nExample\n-------\n\nThe following API call sends a link request from a partner's account\n`123456789` to a merchant with `linkedAccountId` of `\"98765\"`.\n\nThe `\"eCommercePlatform\"` `linkType` identifies the partner as an e-commerce\nplatform. The `services` list indicates that the partner provides\n`\"shoppingAdsProductManagement\"` (product data management for Shopping ads) and\n`\"shoppingActionsOrderManagement\"` (order management for Buy on Google, formerly\nknown as Shopping Actions) features. \n\n POST https://shoppingcontent.googleapis.com/content/v2.1/123456789/accounts/123456789/link\n {\n \"linkedAccountId\": \"98765\",\n \"linkType\": \"eCommercePlatform\",\n \"services\": [\"shoppingAdsProductManagement\", \"shoppingActionsOrderManagement\"],\n \"action\": \"request\"\n }\n\nThe [next section](/shopping-content/guides/flagging/list) describes how to get a list of existing links."]]