Batch Update Purchase Option Offer States
batch_update_purchase_option_offer_statesUpdate multiple one-time product offers at once by activating, deactivating, or canceling their purchase option offer states.
Instructions
Activate, deactivate or cancel 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_offer_states"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requests | Yes | List of UpdateOneTimeProductOfferStateRequest bodies (each with a nested activate/deactivate/cancel one-time product offer request) | |
| 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 |