Method: monetization.onetimeproducts.get

  • This page provides documentation for reading a single one-time product using an HTTP GET request.

  • The request URL includes path parameters for the packageName and productId which are required.

  • The request body should be empty, and a successful response will contain an instance of OneTimeProduct.

  • Authorization requires the https://www.googleapis.com/auth/androidpublisher OAuth scope.

Reads a single one-time product.

HTTP request

GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Required. The parent app (package name) of the product to retrieve.

productId

string

Required. The product ID of the product to retrieve.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of OneTimeProduct.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidpublisher