Method: accounts.products.update
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Manufacturer Center 계정에서 제품의 속성을 삽입하거나 업데이트합니다.
제공된 속성으로 제품을 만듭니다. 제품이 이미 있는 경우 모든 속성이 새 속성으로 대체됩니다. 업로드 시 검사는 최소화됩니다. 제품이 유효하려면 모든 필수 속성이 있어야 합니다. API에서 제품의 새 업로드를 수락한 후 나중에 문제가 표시될 수 있으며, 유효한 기존 제품을 유효하지 않은 제품으로 덮어쓸 수 있습니다. 이를 감지하려면 새 버전이 제공되면 제품을 가져와 문제를 확인해야 합니다.
업로드된 속성은 먼저 처리되어야 검색할 수 있습니다. 그때까지는 신규 제품을 사용할 수 없으며 이전에 업로드된 제품을 가져오면 제품의 원래 상태가 반환됩니다.
HTTP 요청
PUT https://manufacturers.googleapis.com/v1/{parent=accounts/*}/products/{name}
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
parent |
string
accounts/{account_id} 형식의 상위 ID입니다.
account_id - Manufacturer Center 계정의 ID입니다.
|
name |
string
{targetCountry}:{contentLanguage}:{productId} 형식의 이름입니다.
targetCountry - 제품의 타겟 국가입니다 (CLDR 지역 코드, 예: US).
contentLanguage - 제품의 콘텐츠 언어(두 글자로 된 ISO 639-1 언어 코드(예: en))
productId : 제품의 ID입니다. 자세한 내용은 https://support.google.com/manufacturers/answer/6124116#id를 참고하세요.
|
요청 본문
요청 본문에 Attributes
의 인스턴스가 포함됩니다.
응답 본문
성공하면 응답 본문은 빈 JSON 객체입니다.
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/manufacturercenter
자세한 내용은 OAuth 2.0 Overview를 참조하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-17(UTC)
[[["이해하기 쉬움","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-17(UTC)"],[[["\u003cp\u003eUpdates or creates product attributes within a Manufacturer Center account, potentially overwriting existing data.\u003c/p\u003e\n"],["\u003cp\u003eRequires providing product details like target country, content language, and a unique product ID within the request.\u003c/p\u003e\n"],["\u003cp\u003eUploaded product data needs processing time before becoming visible or retrievable in its updated state.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003ePUT\u003c/code\u003e method and specific path parameters for identifying the account and product in the request URL.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/manufacturercenter\u003c/code\u003e scope for access.\u003c/p\u003e\n"]]],[],null,[]]