Method: inappproducts.update

  • This page details how to update an in-app product (a managed product) using a PUT request.

  • Updating subscriptions using this method is no longer recommended; see the provided article for alternative methods.

  • The HTTP request requires packageName and sku as path parameters.

  • Optional query parameters can be used to manage prices and product creation.

  • The request and response bodies both utilize the InAppProduct resource.

Updates an in-app product (a managed product or a subscription).

This method should no longer be used to update subscriptions. See this article for more information.

HTTP request

PUT https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Package name of the app.

sku

string

Unique identifier for the in-app product.

Query parameters

Parameters
autoConvertMissingPrices

boolean

If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.

allowMissing

boolean

If set to true, and the in-app product with the given packageName and sku doesn't exist, the in-app product will be created.

latencyTolerance

enum (ProductUpdateLatencyTolerance)

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

Request body

The request body contains an instance of InAppProduct.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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