Content API की मदद से, Google Merchant Center के साथ प्रोग्राम के हिसाब से इंटरैक्ट किया जा सकता है. इसलिए, Content API का इस्तेमाल करने के लिए, सबसे पहले अपने Merchant Center खाते को सेट अप करना और उसकी जांच करना ज़रूरी है.
Merchant Center खाता बनाने और उसकी जांच करने के लिए, यह तरीका अपनाएं:
क्रेडेंशियल सेक्शन में, Google OAuth 2.0 और एपीआई पासकोड चुनें.
लागू करें पर क्लिक करें.
अगर कहा जाए, तो अपने Merchant Center खाते से जुड़े Google खाते से साइन इन करें.
अगर आपका Merchant Center खाता सही तरीके से कॉन्फ़िगर किया गया है, तो अनुरोध पूरा हो जाता है और एचटीटीपी रिस्पॉन्स कोड 200 दिखता है. हालांकि, आपने अभी-अभी नया खाता बनाया है, इसलिए हो सकता है कि products.list तरीके से कोई प्रॉडक्ट न दिखे. इस गाइड में आगे, आपको एक प्रॉडक्ट जोड़ना होगा. इसके बाद, products.list को फिर से कॉल करके पुष्टि करनी होगी कि कार्रवाई पूरी हो गई है.
[null,null,["आखिरी बार 2024-11-20 (UTC) को अपडेट किया गया."],[[["The Merchant API beta is now available, offering a new and improved way to interact with Google Merchant Center."],["This API is the future of the Content API for Shopping, providing enhanced integration capabilities."],["To utilize the Merchant API, you need a Merchant Center account; detailed setup instructions are provided if you don't already have one."],["You can test your Merchant Center account and API integration using the `products.list` request with your unique Merchant Center ID."]]],["The Merchant API beta, the new version of the Content API for Shopping, is introduced. To use it, set up a Merchant Center account: sign up, verify and claim your website URL (unless using a third-party CSS), and set US tax settings. Locate your account's unique identifier. Test the setup by executing a `products.list` request via the API Explorer, entering your account ID, and authenticating with OAuth 2.0 and API key credentials. A successful setup yields a 200 HTTP response.\n"]]