সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
শপিং পার্টনার এবং পৃথক বণিক অ্যাকাউন্ট উভয়েরই তাদের অ্যাকাউন্ট এবং অন্যদের মধ্যে একাধিক পতাকাঙ্কিত লিঙ্ক থাকতে পারে। listlinks পদ্ধতিটি এপিআই কল করার জন্য বণিক কেন্দ্র অ্যাকাউন্টের জন্য এই সমস্ত লিঙ্কগুলির একটি তালিকা প্রদান করে। এটির কোনো পরামিতি প্রয়োজন হয় না এবং একটি HTTP GET অনুরোধ ব্যবহার করে আহ্বান করা হয়।
পরিষেবার অবস্থা
লিঙ্কগুলি তালিকাভুক্ত করার সময়, প্রতিক্রিয়াগুলি একটি লিঙ্কের মধ্যে প্রতিটি পৃথক service জন্য একটি status দেখাবে। বণিকদের কাছে সমস্ত তালিকাভুক্ত পরিষেবা অনুমোদন করার বা অনুরোধে প্রস্তাবিত পরিষেবাগুলির শুধুমাত্র একটি উপসেট অনুমোদন করার বিকল্প রয়েছে৷
অন্য pending থাকা বা active পরিষেবাগুলিও উপস্থিত থাকলে সরানো পরিষেবাগুলি inactive অবস্থা দেখাবে৷ একটি লিঙ্ক সমন্বিত সমস্ত পরিষেবা মুছে ফেলা হলে, listlinks পদ্ধতি দ্বারা লিঙ্কটি আর ফেরত দেওয়া হবে না।
উদাহরণ অনুরোধ
অংশীদার 123456789 দ্বারা পাঠানো লিঙ্ক অনুরোধ তালিকাভুক্ত করতে, listlinks পদ্ধতি ব্যবহার করে কোনো প্যারামিটার ছাড়াই একটি GET অনুরোধ পাঠান।
GET https://shoppingcontent.googleapis.com/content/v2.1/123456789/accounts/123456789/listlinks
উদাহরণ প্রতিক্রিয়া
এই উদাহরণে, মার্চেন্ট 98765 এখনও অনুরোধটি অনুমোদন করেনি, তাই পৃথক পরিষেবাগুলির একটি pending স্থিতি রয়েছে৷
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["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\u003eThe \u003ccode\u003elistlinks\u003c/code\u003e method allows retrieval of all flagged links between accounts, providing insight into account relationships.\u003c/p\u003e\n"],["\u003cp\u003eEach service within a link has a status, starting as \u003ccode\u003epending\u003c/code\u003e, transitioning to \u003ccode\u003eactive\u003c/code\u003e upon approval, and ultimately becoming \u003ccode\u003einactive\u003c/code\u003e when removed.\u003c/p\u003e\n"],["\u003cp\u003eA simple HTTP GET request to the \u003ccode\u003elistlinks\u003c/code\u003e endpoint is sufficient to retrieve link information without requiring any parameters.\u003c/p\u003e\n"]]],["The beta version of the Merchant API, the new Content API for Shopping, is introduced. The `listlinks` method retrieves all links between merchant accounts without parameters via a `GET` request. Each service within a link has a `status`: `pending` (awaiting merchant approval), `active` (approved), or `inactive` (removed, but other services remain). Once all services are removed, the link is no longer listed. A `GET` request example and the `listlinks` method's response format are provided.\n"],null,["# List links\n\nBoth Shopping partners and individual merchant accounts can have multiple\nflagged links between their accounts and others.\nThe [`listlinks`](/shopping-content/reference/rest/v2.1/accounts/listlinks) method\nreturns a list of all these links for the merchant center account\nmaking the API call. It does not require any parameters and is invoked using an\nHTTP `GET` request.\n\nService status\n--------------\n\nWhen listing links, responses will show a `status` for each individual `service`\nwithin a link. Merchants have the option to either approve all listed services\nor only a subset of those proposed in the request.\n\nServices start out in a `pending` status until explicitly [approved by a\nmerchant](/shopping-content/guides/flagging/approve). After they are approved, services have an `active` status.\n\nRemoved services will show a status of `inactive` if there are other `pending`\nor `active` services also present. Once all services comprising a link are\nremoved, the link will no longer be returned by the\n[`listlinks`](/shopping-content/reference/rest/v2.1/accounts/listlinks) method.\n\nExample request\n---------------\n\nTo list the link request sent by partner `123456789`, send a `GET`\nrequest with no parameters using the [`listlinks`](/shopping-content/reference/rest/v2.1/accounts/listlinks) method. \n\n GET https://shoppingcontent.googleapis.com/content/v2.1/123456789/accounts/123456789/listlinks\n\nExample response\n----------------\n\nIn this example, the merchant `98765` has yet to approve the request, so the\nindividual services have a `pending` status. \n\n {\n \"linkedAccountId\": \"98765\",\n \"services\": [\n {\n \"service\": \"shoppingAdsProductManagement\",\n \"status\": \"pending\"\n },\n {\n \"service\": \"shoppingActionsOrderManagement\",\n \"status\": \"pending\"\n }\n ]\n }\n\nThe [next section](/shopping-content/guides/flagging/approve) describes how to approve a linking request."]]