Batch Update Purchase Option Offers
batch_update_purchase_option_offersBatch update or create multiple one-time product offers with a single API call. Provide package name, product ID, purchase option ID, and request bodies to apply changes.
Instructions
Create or update multiple one-time product offers in a single operation.
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>",
"purchase_option_id": "<purchase_option_id>",
"requests": "<requests>"
},
"name": "batch_update_purchase_option_offers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requests | Yes | List of UpdateOneTimeProductOfferRequest bodies (each with oneTimeProductOffer, updateMask, and optional allowMissing / latencyTolerance) | |
| product_id | Yes | Parent one-time product ID ('-' wildcard allowed) | |
| package_name | Yes | App package name | |
| purchase_option_id | Yes | Parent purchase option ID ('-' wildcard allowed) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |