upgrade_subscription
Modify a subscription's product by specifying the subscription ID, new product ID, and proration handling for upgrades or downgrades.
Instructions
Upgrade or downgrade a subscription to a different product
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": {
"subscription_id": "<subscription_id>",
"product_id": "<product_id>"
},
"name": "upgrade_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscription_id | Yes | Subscription ID | |
| product_id | Yes | New product ID to upgrade/downgrade to | |
| update_behavior | No | How to handle the upgrade | proration-charge |