Method: inappproducts.batchDelete

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

string

Package name of the app.

Request body

The request body contains data with the following structure:

JSON representation
{
  "requests": [
    {
      object (InappproductsDeleteRequest)
    }
  ]
}
Fields
requests[]

object (InappproductsDeleteRequest)

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 empty.

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 (ProductUpdateLatencyTolerance)
}
Fields
packageName

string

Package name of the app.

sku

string

Unique identifier for the in-app product.

latencyTolerance

enum (ProductUpdateLatencyTolerance)

Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.