Merchant API से अपने खाते के कनेक्शन की पुष्टि करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
अगर आपके पास पहले से कोई Merchant Center खाता है, तो रेफ़रंस दस्तावेज़ में Google APIs Explorer का इस्तेमाल करके पुष्टि की जा सकती है कि आपका खाता, Merchant API के साथ इस्तेमाल के लिए तैयार है या नहीं.
accounts/ और अपने merchantId को जोड़कर, अपने खाते के संसाधन का नाम ढूंढें. आपको merchantId, Google Merchant Center में सबसे ऊपर दिखेगा.
parent फ़ील्ड में अपने खाते के रिसॉर्स का नाम डालें.
क्रेडेंशियल सेक्शन में, Google OAuth 2.0 और एपीआई पासकोड चुनें.
लागू करें पर क्लिक करें.
अगर कहा जाए, तो अपने Google Merchant Center खाते से जुड़े Google खाते से साइन इन करें.
अगर आपका Merchant Center खाता सही तरीके से सेट अप किया गया है, तो अनुरोध पूरा हो जाता है और एचटीटीपी रिस्पॉन्स कोड 200 दिखता है. अगर आपने अभी-अभी नया खाता बनाया है, तो accounts.products.list तरीके से कोई प्रॉडक्ट नहीं मिलता.
इसके बाद, अन्य Merchant Center खातों का ऐक्सेस पाने के लिए, क्लाइंट लाइब्रेरी का इस्तेमाल करें. क्लाइंट लाइब्रेरी, उपयोगकर्ता की अनुमति के साथ काम करती हैं. इससे, ऐप्लिकेशन को Merchant Center खाते का डेटा ऐक्सेस और मैनेज करने की अनुमति मिलती है.
अपने खाते के लिए एपीआई ऐक्सेस की अनुमति देने के लिए, सेवा खाते का इस्तेमाल भी किया जा सकता है. सेवा खाता एक खास तरह का खाता होता है, जो किसी असली उपयोगकर्ता के बजाय ऐप्लिकेशन से जुड़ा होता है. ज़्यादा जानकारी के लिए, सेवा खातों की खास जानकारी देखें.
[[["समझने में आसान है","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-08 (UTC) को अपडेट किया गया."],[],["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"]]