Method: inappproducts.patch
Stay organized with collections
Save and categorize content based on your preferences.
Patches 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
PATCH 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.
|
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-17 UTC."],[[["This operation patches an in-app product, either a managed product or a subscription, within a specified app."],["It involves providing the package name and product's unique identifier (SKU) as path parameters."],["Developers can optionally control auto-conversion of missing prices and update propagation latency using query parameters."],["The request and successful response both utilize the `InAppProduct` object for data transfer."],["Authorization requires the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This API patches in-app products, including managed products and subscriptions, via a `PATCH` HTTP request to a specified URL. The URL requires the app's `packageName` and the product's `sku` as path parameters. Optional query parameters, `autoConvertMissingPrices` and `latencyTolerance`, are available. The request and response body use the `InAppProduct` instance. This process needs `https://www.googleapis.com/auth/androidpublisher` OAuth scope. Note that updating subscriptions through this method is deprecated.\n"]]