AI-generated Key Takeaways
- 
          The onetimeproducts.batchGet endpoint reads one or more one-time products using an HTTP GET request to the specified URL. 
- 
          This endpoint requires a package name as a path parameter and a list of product IDs as query parameters. 
- 
          The request body must be empty, and the response body contains a list of requested one-time products. 
- 
          Authorization requires the https://www.googleapis.com/auth/androidpublisherOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
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 | 
 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[] | 
 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 ( | 
| Fields | |
|---|---|
| oneTimeProducts[] | 
 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