판매자 API에 대한 계정 연결 확인
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
기존 판매자 센터 계정이 있는 경우 참조 문서의 Google APIs Explorer를 사용하여 계정을 Merchant API와 함께 사용할 수 있는지 확인할 수 있습니다.
accounts/
와 merchantId
을 연결하여 계정의 리소스 이름을 찾습니다. merchantId
는 Google 판매자 센터 상단에서 확인할 수 있습니다.
accounts.products.list
메서드의 API 탐색기에서 다음을 실행합니다.
parent
필드에 계정의 리소스 이름을 입력합니다.
- 사용자 인증 정보 섹션에서 Google OAuth 2.0 및 API 키를 선택합니다.
- 실행을 클릭합니다.
- 메시지가 표시되면 Google 판매자 센터 계정과 연결된 Google 계정으로 로그인합니다.
판매자 센터 계정이 올바르게 설정되어 있으면 요청이 성공하고 HTTP 응답 코드 200
이 반환됩니다. 새 계정을 방금 만든 경우 accounts.products.list
메서드는 제품을 반환하지 않습니다.
그런 다음 클라이언트 라이브러리를 사용하여 다른 판매자 센터 계정에 대한 액세스 권한을 요청해 보세요. 클라이언트 라이브러리는 판매자 센터 계정 데이터에 액세스하고 관리할 수 있는 애플리케이션 권한을 부여하는 사용자 승인을 지원합니다.
서비스 계정을 사용하여 자체 계정에 대한 API 액세스를 승인할 수도 있습니다. 서비스 계정은 개별 최종 사용자가 아닌 애플리케이션에 속하는 특수한 계정 유형입니다. 자세한 내용은 서비스 계정 개요를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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)."]]