AI-generated Key Takeaways
- 
          Reads one or more subscriptions using a GET request to a specified URL. 
- 
          Requires the app's package name as a path parameter and up to 100 unique subscription product IDs as query parameters. 
- 
          The request body must be empty, while the response body contains a list of the requested subscriptions. 
- 
          Authorization requires the https://www.googleapis.com/auth/androidpublisherOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Reads one or more subscriptions.
HTTP request
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions:batchGet
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| packageName | 
 Required. The parent app (package name) for which the subscriptions should be retrieved. Must be equal to the packageName field on all the requests. | 
Query parameters
| Parameters | |
|---|---|
| productIds[] | 
 Required. A list of up to 100 subscription product IDs to retrieve. All the IDs must be different. | 
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 | 
|---|
| {
  "subscriptions": [
    {
      object ( | 
| Fields | |
|---|---|
| subscriptions[] | 
 The list of requested subscriptions, in the same order as the request. | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/androidpublisher