update_subscription
Update an existing subscription's details including name, currency, gateway, payment method, billing and shipping addresses, and effective start date.
Instructions
Update a subscription. PUT /subscriptions/{subscriptionId}. Optional: name, companyCurrencyId, companyGatewayId, customerPaymentMethodId, detail, effectiveStartDate, billingAddressId, shippingAddressId.
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>"
},
"name": "update_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscriptionId | Yes | Subscription ID (required) | |
| name | No | Subscription name | |
| companyCurrencyId | No | Company currency ID | |
| companyGatewayId | No | Company gateway ID | |
| customerPaymentMethodId | No | Customer payment method ID | |
| detail | No | Detail | |
| effectiveStartDate | No | Effective start date | |
| billingAddressId | No | Billing address ID | |
| shippingAddressId | No | Shipping address ID |