update_subscription
Update a contract's subscription configuration, including term lengths, notice periods, renewal and billing settings, and subscription items; only provided fields change while omitted fields remain unchanged.
Instructions
Update the subscription configuration for a contract. Allows modifying term lengths, notice periods, renewal settings, billing mode, and subscription items. Only the fields provided will be updated; omitted fields remain unchanged.
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": {
"contractNumber": "<contractNumber>"
},
"name": "update_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| termUnit | No | The unit for the initial contract term (e.g. MONTH, YEAR). | |
| noticeUnit | No | The unit for the notice period (e.g. MONTH, WEEK, DAY). | |
| termPeriod | No | The initial contract term length (e.g. 12 for a 12-month term). Combined with termUnit. | |
| continueUnit | No | The unit for the auto-renewal period (e.g. MONTH, YEAR). | |
| noticePeriod | No | The notice period length required before cancellation. Combined with noticeUnit. | |
| continuePeriod | No | The auto-renewal period length after the initial term expires. Combined with continueUnit. | |
| contractNumber | Yes | The contract number whose subscription should be updated. | |
| billedInAdvance | No | When true, the subscription is billed at the beginning of each billing period (in advance). When false, billing occurs at the end (in arrears). | |
| subscriptionItems | No | The list of items included in this subscription. Each item references a product/service from the item catalog. |