จากนั้นให้ลองใช้คลังลูกค้าที่ติดตั้งไว้เพื่อขอสิทธิ์เข้าถึงบัญชี Merchant Center อื่นๆ ไลบรารีของไคลเอ็นต์รองรับการให้สิทธิ์ของผู้ใช้ ซึ่งจะให้สิทธิ์แอปพลิเคชันในการเข้าถึงและจัดการข้อมูลบัญชี Merchant Center
นอกจากนี้ คุณยังใช้บัญชีบริการเพื่อให้สิทธิ์เข้าถึง API แก่บัญชีของคุณเองได้ด้วย บัญชีบริการคือบัญชีประเภทพิเศษที่เป็นของแอปพลิเคชัน ไม่ใช่ของผู้ใช้ปลายทางแต่ละราย โปรดดูข้อมูลเพิ่มเติมที่หัวข้อภาพรวมของบัญชีบริการ
[[["เข้าใจง่าย","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"],[[["\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,[]]