| Method | update.customer_tariff_plans |
|---|---|
| Description | Changing the tariff plan for an agent client |
| Available to | Partner |
Request parameters
| Title | Type | Required | Description |
|---|---|---|---|
access_token |
string | yes | Authentication session key |
customer_id |
number | yes | Unique client identifier |
tariff_plan_id |
number | yes | Unique identifier of the tariff plan. The list of available tariff plans can be obtained using the "get.tariff_plans" method |
JSON request structure```json
{ "jsonrpc":"2.0", "id":"number", "method":"update.customer_tariff_plans", "params":{ "access_token":"string", "customer_id":"number", "tariff_plan_id":"number" } }
### JSON response structure```json
{
"jsonrpc":"2.0",
"id":"number",
"result":{
}
}
List of returned errors
See the section "List of errors for methods with the update verb"