Updating the tariff plan of an agent customer
| Method |
update.customer_tariff_plans |
| Description |
Updating the tariff plan of an agent customer |
| Available to |
Partner |
Request parameters
| Name |
Type |
Required |
Description |
access_token |
string |
yes |
Authentication session key |
customer_id |
number |
yes |
Unique customer 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
{
"jsonrpc": "2.0",
"id": "number",
"method": "update.customer_tariff_plans",
"params": {
"access_token": "string",
"customer_id": "number",
"tariff_plan_id": "number"
}
}
JSON response structure
{
"jsonrpc": "2.0",
"id": "number",
"result": {}
}
List of returned errors
See the section "List of errors for methods with the update method".