Method: inappproducts.patch
アプリ内アイテム(管理対象アイテムまたは定期購入)にパッチを適用します。
このメソッドは、定期購入を更新するためには使用しないでください。詳しくは、こちらの記事をご覧ください。
HTTP リクエスト
PATCH https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
packageName |
string
アプリのパッケージ名。
|
sku |
string
アプリ内アイテムの固有識別子。
|
クエリ パラメータ
パラメータ |
autoConvertMissingPrices |
boolean
true にすると、このアプリ内アイテムの価格が指定されていない場合、親アプリがターゲットとするすべての地域での価格は、デフォルト価格に基づいてターゲットの通貨に自動換算されます。デフォルトは false です。
|
latencyTolerance |
enum (ProductUpdateLatencyTolerance )
省略可。このアイテムの更新の伝播に関する遅延の許容度。デフォルトは latency-sensitive(遅延の影響を受けやすい)です。
|
リクエスト本文
リクエストの本文には InAppProduct
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には InAppProduct
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidpublisher
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-17 UTC。
[null,null,["最終更新日 2024-12-17 UTC。"],[[["This operation patches an in-app product, either a managed product or a subscription, within a specified app."],["It involves providing the package name and product's unique identifier (SKU) as path parameters."],["Developers can optionally control auto-conversion of missing prices and update propagation latency using query parameters."],["The request and successful response both utilize the `InAppProduct` object for data transfer."],["Authorization requires the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This API patches in-app products, including managed products and subscriptions, via a `PATCH` HTTP request to a specified URL. The URL requires the app's `packageName` and the product's `sku` as path parameters. Optional query parameters, `autoConvertMissingPrices` and `latencyTolerance`, are available. The request and response body use the `InAppProduct` instance. This process needs `https://www.googleapis.com/auth/androidpublisher` OAuth scope. Note that updating subscriptions through this method is deprecated.\n"]]