Update Subscription
hyros_update_subscriptionUpdate existing subscriptions by ID to modify status, price, dates, and cancellation details. Provide comma-separated IDs and a new price to apply changes.
Instructions
Update existing subscription records. Can change status, price, dates, and cancellation.
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": {
"ids": "<ids>",
"price": "<price>"
},
"name": "hyros_update_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Comma-separated subscription IDs to update (max 50, required) | |
| name | No | Subscription name | |
| price | Yes | New subscription price (required) | |
| status | No | New status | |
| startDate | No | New start date (ISO 8601) | |
| cancelAtDate | No | Cancellation date (required when setting status to CANCELED) | |
| trialEndDate | No | Trial end date (ISO 8601) | |
| trialStartDate | No | Trial start date (ISO 8601) |