- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Creates or updates a one-time product.
HTTP request
PATCH https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{oneTimeProduct.packageName}/onetimeproducts/{oneTimeProduct.productId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
oneTimeProduct.packageName |
Required. Immutable. Package name of the parent app. |
oneTimeProduct.productId |
Required. Immutable. Unique product ID of the product. Unique within the parent app. Product IDs must start with a number or lowercase letter, and can contain numbers (0-9), lowercase letters (a-z), underscores (_), and periods (.). |
Query parameters
Parameters | |
---|---|
updateMask |
Required. The list of fields to be updated. This is a comma-separated list of fully qualified names of fields. Example: |
regionsVersion |
Required. The version of the available regions being used for the one-time product. |
allowMissing |
Optional. If set to true, and the one-time product with the given packageName and productId doesn't exist, the one-time product will be created. If a new one-time product is created, updateMask is ignored. |
latencyTolerance |
Optional. The latency tolerance for the propagation of this product upsert. Defaults to latency-sensitive. |
Request body
The request body contains an instance of OneTimeProduct
.
Response body
If successful, the response body contains an instance of OneTimeProduct
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidpublisher