Skip to content

Update customer tariff plans

Updating agent's customer tariff plan

Method update.customer_tariff_plans
Description Updating agent's customer tariff plan
Who has access Partner

Parameters of a request

Title Type Required Description
access_token string yes Authentication session key
customer_id number yes Customer unique ID
tariff_plan_id number yes Tariff plan unique ID. You can get a list of available tariff plans using the method "get.partner_tariffs"

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 reply structure

{
  "jsonrpc":"2.0",
  "id":"number",
  "result":{

  }
}

List of returning errors

Refer to the section "List of errors for the methods with the verb update"