AI-generated Key Takeaways
-
This method gets an in-app product, which can be a managed product or a subscription, but should no longer be used to retrieve subscriptions.
-
The HTTP request is a GET request to
https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
. -
The path parameters required are
packageName
andsku
. -
The request body must be empty.
-
If successful, the response body contains an instance of InAppProduct.
-
Authorization requires the
https://www.googleapis.com/auth/androidpublisher
OAuth scope.
Gets an in-app product, which can be a managed product or a subscription.
This method should no longer be used to retrieve subscriptions. See this article for more information.
HTTP request
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
packageName |
Package name of the app. |
sku |
Unique identifier for the in-app product. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of InAppProduct
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidpublisher