Patch One Time Product
patch_one_time_productCreate or update a one-time product in Google Play Console by specifying fields to change and an update mask. Use for adding or modifying in-app products.
Instructions
Create or update a one-time product (patch is create-or-update).
Disabled in read-only mode.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"package_name": "<package_name>",
"product_id": "<product_id>",
"product": "<product>",
"update_mask": "<update_mask>"
},
"name": "patch_one_time_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes | Partial OneTimeProduct resource body with fields to change | |
| product_id | Yes | One-time product ID | |
| update_mask | Yes | Comma-separated list of fields to update | |
| package_name | Yes | App package name | |
| regions_version | No | Version of available regions for regional prices (default: "2022/02") | 2022/02 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||