LessonTariffsAddTariffDuration
Add a new duration option to a lesson tariff. Specify lesson length in minutes, package price, lessons count, and expiry months to update the tariff.
Instructions
Add a duration option to a lesson tariff.
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": {
"lessonTariffId": "<lessonTariffId>",
"bodyDuration": "<bodyDuration>"
},
"name": "LessonTariffsAddTariffDuration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bodyPrice | No | Стоимость пакета | |
| bodyDuration | Yes | Продолжительность лекций в минутах в пакете | |
| lessonTariffId | Yes | integer (required) | |
| bodyLessonsCount | No | Количество лекций в пакете | |
| bodyExpiryPeriodMonths | No | Срок действия пакета в месяцах |