Method: monetization.subscriptions.get
Reads a single subscription.
HTTP request
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
packageName |
string
Required. The parent app (package name) of the subscription to get.
|
productId |
string
Required. The unique product ID of the subscription to get.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Subscription
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidpublisher
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-17 UTC.
[null,null,["Last updated 2024-12-17 UTC."],[[["Retrieves details for a single subscription within a specified app."],["Requires providing the app's package name and the unique product ID of the subscription."],["Utilizes an HTTP GET request and returns subscription data in the response body."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document outlines the process of retrieving a single subscription using an HTTP GET request. The request targets a specific URL, structured with `packageName` and `productId` as mandatory path parameters. The request body must be empty. A successful request returns a `Subscription` instance in the response body. The action requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope for authorization. It uses gRPC Transcoding syntax.\n"]]