AI-generated Key Takeaways
- 
          This method is used to delete in-app products, specifically managed products, but should not be used for subscriptions. 
- 
          To achieve maximum update throughput when deleting in-app products, set the latencyTolerancefield toPRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT.
- 
          The HTTP request for this method is a POST request to https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts:batchDelete.
- 
          The request body requires a requestsarray containing at least one and up to 100InappproductsDeleteRequestobjects, each corresponding to a different in-app product.
- 
          Each InappproductsDeleteRequestobject includes thepackageName,sku(unique identifier), and an optionallatencyTolerancefield.
- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- InappproductsDeleteRequest
- Try it!
Deletes in-app products (managed products or subscriptions).
Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.
This method should not be used to delete subscriptions. See this article for more information.
HTTP request
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts:batchDelete
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| packageName | 
 Package name of the app. | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| {
  "requests": [
    {
      object ( | 
| Fields | |
|---|---|
| requests[] | 
 Individual delete requests. At least one request is required. Can contain up to 100 requests. All requests must correspond to different in-app products. | 
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/androidpublisher
InappproductsDeleteRequest
Request to delete an in-app product.
| JSON representation | 
|---|
| {
  "packageName": string,
  "sku": string,
  "latencyTolerance": enum ( | 
| Fields | |
|---|---|
| packageName | 
 Package name of the app. | 
| sku | 
 Unique identifier for the in-app product. | 
| latencyTolerance | 
 Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. |