AI-generated Key Takeaways
-
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.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Reads multiple in-app products, which can be managed products or subscriptions.
This method should not be used to retrieve subscriptions. See this article for more information.
HTTP request
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts:batchGet
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
packageName |
Package name of the app. |
Query parameters
Parameters | |
---|---|
sku[] |
Unique identifier for the in-app products. |
Request body
The request body must be empty.
Response body
Response message for subscriptions.batchGet endpoint.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"inappproduct": [
{
object ( |
Fields | |
---|---|
inappproduct[] |
The list of requested in-app products, in the same order as the request. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidpublisher