Method: inappproducts.get

  • Retrieves details for a specified in-app product within a given app package.

  • This method is deprecated for subscriptions; refer to the provided link for alternative approaches for subscriptions.

  • Requires packageName and sku as path parameters to identify the target in-app product.

  • Utilizes an empty request body and returns an InAppProduct object upon successful execution.

  • Requires the https://www.googleapis.com/auth/androidpublisher OAuth scope for authorization.

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

string

Package name of the app.

sku

string

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