update_subscription_rate_plan
Update a subscription rate plan by providing subscription and rate plan IDs. Modify name, type, effective start date, or trigger status changes based on charges.
Instructions
Update a rate plan on a subscription. PUT /subscriptions/{subscriptionId}/rateplans/{ratePlanId}. Optional: name, type (contract|ongoing|prepaid), effectiveStartDate, changeStatusBasedOnCharge.
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": {
"subscriptionId": "<subscriptionId>",
"ratePlanId": "<ratePlanId>"
},
"name": "update_subscription_rate_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscriptionId | Yes | Subscription ID (required) | |
| ratePlanId | Yes | Subscription rate plan ID (required) | |
| name | No | Name | |
| type | No | contract, ongoing, or prepaid | |
| effectiveStartDate | No | YYYY-MM-DD | |
| changeStatusBasedOnCharge | No | Change status based on charge |