Method: monetization.onetimeproducts.batchGet

Reads one or more one-time products.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Required. The parent app (package name) for which the products should be retrieved. Must be equal to the packageName field on all requests.

Query parameters

Parameters
productIds[]

string

Required. A list of up to 100 product IDs to retrieve. All IDs must be different.

Request body

The request body must be empty.

Response body

Response message for the onetimeproducts.batchGet endpoint.

If successful, the response body contains data with the following structure:

JSON representation
{
  "oneTimeProducts": [
    {
      object (OneTimeProduct)
    }
  ]
}
Fields
oneTimeProducts[]

object (OneTimeProduct)

The list of requested one-time products, in the same order as the request.

Authorization scopes

Requires the following OAuth scope:

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