মার্চেন্ট API-এর সাথে আপনার অ্যাকাউন্টের সংযোগ যাচাই করুন৷
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
আপনার যদি একটি বিদ্যমান বণিক কেন্দ্র অ্যাকাউন্ট থাকে, তাহলে আপনি আপনার অ্যাকাউন্টটি মার্চেন্ট API-এর সাথে ব্যবহারের জন্য প্রস্তুত কিনা তা যাচাই করতে রেফারেন্স ডকুমেন্টেশনে Google APIs এক্সপ্লোরার ব্যবহার করতে পারেন।
-
accounts/
এবং আপনার merchantId
সংযুক্ত করে আপনার অ্যাকাউন্টের সম্পদের নাম খুঁজুন। আপনি Google Merchant Center- এর শীর্ষে আপনার merchantId
খুঁজে পেতে পারেন। -
accounts.products.list
পদ্ধতির জন্য API এক্সপ্লোরারে, নিম্নলিখিতগুলি করুন:-
parent
ক্ষেত্রে আপনার অ্যাকাউন্টের সম্পদের নাম লিখুন। - শংসাপত্র বিভাগে, Google OAuth 2.0 এবং API কী নির্বাচন করুন।
- এক্সিকিউট এ ক্লিক করুন।
- অনুরোধ করা হলে, আপনার Google Merchant Center অ্যাকাউন্টের সাথে যুক্ত Google অ্যাকাউন্ট দিয়ে সাইন ইন করুন।
আপনার Merchant Center অ্যাকাউন্ট সঠিকভাবে সেট আপ করা থাকলে, অনুরোধটি সফল হয় এবং একটি HTTP প্রতিক্রিয়া কোড 200
ফেরত দেয়। আপনি এইমাত্র একটি নতুন অ্যাকাউন্ট তৈরি করলে, accounts.products.list
পদ্ধতি কোনো পণ্য ফেরত দেয় না।
এর পরে, অন্যান্য বণিক কেন্দ্র অ্যাকাউন্টগুলিতে অ্যাক্সেসের অনুরোধ করতে একটি ক্লায়েন্ট লাইব্রেরি ব্যবহার করার চেষ্টা করুন। ক্লায়েন্ট লাইব্রেরিগুলি ব্যবহারকারীর অনুমোদন সমর্থন করে, যা বণিক কেন্দ্র অ্যাকাউন্ট ডেটা অ্যাক্সেস এবং পরিচালনা করার জন্য একটি অ্যাপ্লিকেশন অনুমতি দেয়।
আপনি আপনার নিজের অ্যাকাউন্টে API অ্যাক্সেস অনুমোদন করতে একটি পরিষেবা অ্যাকাউন্ট ব্যবহার করতে পারেন। একটি পরিষেবা অ্যাকাউন্ট হল একটি বিশেষ ধরনের অ্যাকাউন্ট যা একটি পৃথক ব্যবহারকারীর পরিবর্তে একটি অ্যাপ্লিকেশনের অন্তর্গত। আরও তথ্যের জন্য, পরিষেবা অ্যাকাউন্ট ওভারভিউ দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-08 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-08 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eExisting merchant account holders can use the API explorer to verify their account's compatibility with the Merchant API.\u003c/p\u003e\n"],["\u003cp\u003eAccount verification involves locating your \u003ccode\u003emerchantId\u003c/code\u003e, constructing the resource name, and executing the \u003ccode\u003eaccounts.products.list\u003c/code\u003e method within the API Explorer using your credentials.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful verification is indicated by an HTTP response code \u003ccode\u003e200\u003c/code\u003e, although new accounts may not return any product data.\u003c/p\u003e\n"],["\u003cp\u003eAfter verification, users can proceed to utilize client libraries for accessing other merchant accounts or employ service accounts for authorizing API access to their own account.\u003c/p\u003e\n"]]],["To verify a merchant account for API use, locate your `merchantId` in Google Merchant Center and construct the account's resource name. In the API Explorer, use the `accounts.products.list` method, input the resource name in the `parent` field, and select Google OAuth 2.0 and API key credentials. Executing the request should return an HTTP 200 code, confirming successful setup. For new accounts, the product list will be empty. Further access can be configured via client libraries or service accounts.\n"],null,["# Verify your account's connection to Merchant API\n\nIf you have an existing Merchant Center account, you can use [Google APIs\nExplorer](https://developers.google.com/apis-explorer) in the [reference documentation](/merchant/api/reference/rest) to verify\nthat your account is ready to use with the Merchant API.\n\n1. Find the resource name of your account by concatenating `accounts/` and your `merchantId`. You can find your `merchantId` in the top of [Google Merchant Center](//merchants.google.com/).\n2. In the API Explorer for the [`accounts.products.list`](/merchant/api/reference/rest/products_v1/accounts.products/list) method, do the following:\n 1. Enter the resource name of your account in the `parent` field.\n 2. In the **Credentials** section, select **Google OAuth 2.0** and **API\n key**.\n 3. Click **Execute**.\n 4. If prompted, sign in with the Google Account associated with your Google Merchant Center account.\n\nIf your Merchant Center account is set up correctly, the request succeeds and\nreturns an HTTP response code `200`. If you just created a new account, the\n`accounts.products.list` method doesn't return any products.\n\nNext, try [using a client library](/merchant/api/client-libraries) to request\naccess to other Merchant Center accounts. Client libraries support user\nauthorization, which grants an application permission to access and manage\nMerchant Center account data.\n\nYou can also [use a service\naccount](/merchant/api/guides/authorization/access-your-account) to authorize\nAPI access to your own account. A service account is a special type of account\nthat belongs to an application instead of an individual end user. For more\ninformation, see [Service accounts overview](https://cloud.google.com/iam/docs/service-account-overview)."]]