판매자 API에 대한 계정 연결 확인
기존 판매자 계정이 있는 경우 참조 문서의 API 탐색기를 사용하여 계정을 Merchant API와 함께 사용할 수 있는지 확인할 수 있습니다.
accounts/
와 merchantId
을 연결하여 계정의 리소스 이름을 찾습니다. merchantId
는 Google 판매자 센터 상단에서 확인할 수 있습니다.
accounts.products.list
메서드의 API 탐색기에서 다음을 실행합니다.
parent
필드에 계정의 리소스 이름을 입력합니다.
- 사용자 인증 정보 섹션에서 Google OAuth 2.0 및 API를 선택합니다.
키를 참고하세요.
- 실행을 클릭합니다.
- 메시지가 표시되면 Google
판매자 센터 계정
판매자 계정이 올바르게 설정된 경우 요청이 성공하고 HTTP 응답 코드 200
이 반환됩니다. 새 계정을 방금 만든 경우 accounts.products.list
메서드는 제품을 반환하지 않습니다.
다음으로,
클라이언트 라이브러리를 사용하여 다른 판매자 계정에 대한 액세스 요청
또는
서비스 계정을 사용하여 본인의 계정에 대한 API 액세스를 승인할 수 있습니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-10-23(UTC)
[null,null,["최종 업데이트: 2024-10-23(UTC)"],[[["Existing merchant account holders can use the API explorer to verify their account's compatibility with the Merchant API."],["Account verification involves locating your `merchantId`, constructing the resource name, and executing the `accounts.products.list` method within the API Explorer using your credentials."],["Successful verification is indicated by an HTTP response code `200`, although new accounts may not return any product data."],["After 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."]]],["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"]]