Method: inappproducts.update
인앱 상품 (관리 제품 또는 정기 결제)을 업데이트합니다.
이 메서드는 정기 결제를 업데이트하는 데 더 이상 사용하면 안 됩니다. 자세한 내용은 이 도움말을 참고하세요.
HTTP 요청
PUT https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
packageName |
string
앱의 패키지 이름입니다.
|
sku |
string
인앱 상품의 고유 식별자입니다.
|
쿼리 매개변수
매개변수 |
autoConvertMissingPrices |
boolean
이 값이 true이면 이 인앱 상품에 지정된 가격이 없는 상위 앱에서 타겟팅한 모든 지역의 가격이 기본 가격에 따라 타겟 통화로 자동 변환됩니다. 기본값은 false입니다.
|
allowMissing |
boolean
true로 설정되었는데 주어진 packageName 및 sku가 있는 인앱 상품이 존재하지 않는 경우 인앱 상품이 생성됩니다.
|
latencyTolerance |
enum (ProductUpdateLatencyTolerance )
선택사항입니다. 이 제품 업데이트의 전파에 허용되는 지연 시간입니다. 기본값은 latency-sensitive입니다.
|
요청 본문
요청 본문에 InAppProduct
의 인스턴스가 포함됩니다.
응답 본문
성공한 경우 응답 본문에 InAppProduct
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/androidpublisher
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-12-17(UTC)
[null,null,["최종 업데이트: 2024-12-17(UTC)"],[[["Updates an existing in-app product or subscription using a PUT request."],["Requires `packageName` and `sku` as path parameters for identification."],["Provides optional query parameters for price conversion, product creation, and update latency."],["Request and response bodies utilize the `InAppProduct` object schema."],["Needs `https://www.googleapis.com/auth/androidpublisher` authorization scope for access."]]],["This outlines how to update an in-app product via a PUT request to `https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}`. It specifies the `packageName` and `sku` as path parameters. Query parameters allow for auto-converting prices (`autoConvertMissingPrices`), creating missing products (`allowMissing`), and setting latency tolerance (`latencyTolerance`). The request and response bodies both utilize the `InAppProduct` resource. This method now should not be used to update subscription. An authorization scope of `https://www.googleapis.com/auth/androidpublisher` is needed.\n"]]