Method: inappproducts.batchGet
複数のアプリ内アイテム(管理対象アイテムまたは定期購入)を読み取ります。
定期購入の取得にこのメソッドは使用しないでください。詳しくは、こちらの記事をご覧ください。
HTTP リクエスト
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts:batchGet
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
packageName |
string
アプリのパッケージ名。
|
クエリ パラメータ
パラメータ |
sku[] |
string
アプリ内アイテムの固有識別子。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
subscriptions.batchGet エンドポイントに対するレスポンス メッセージ。
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
フィールド |
inappproduct[] |
object (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。"],[[["Reads multiple in-app products, including managed products and subscriptions, but should not be used to retrieve subscriptions."],["Sends an HTTP GET request to the specified endpoint with package name and product identifiers as parameters."],["Requires an empty request body and returns a response containing a list of in-app products."],["The response is structured in JSON format with an array of `inappproduct` objects, each representing an in-app product."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This outlines how to retrieve multiple in-app products (excluding subscriptions) via a `GET` request to the Android Publisher API. The request URL requires the app's package name as a path parameter and a list of unique product identifiers as query parameters (sku[]). The request body must be empty. A successful response returns a JSON object containing a list of in-app products, ordered as requested, with details provided within an InAppProduct object. This process requires specific OAuth authorization scopes to be granted.\n"]]