Method update.customers
Description Editing agent client settings
Available to Partner

Partial updating is possible. If the data array is updated, the transferred array will completely replace the existing one.

Request parameters

Title Type Required Valid values ​​ Description
access_token string yes Authentication session key
id number yes Unique client identifier
name string yes Client name
description string no Description to the client
monthly_base_limit number no Total monthly limit. The value is specified in money.
monthly_base_notify_limit number no Threshold value of the total monthly limit, upon reaching which a notification is sent to the email address specified in the "monthly_base_notify_email" parameter
monthly_base_notify_emails array yes Maximum 5 addresses Email addresses to receive notifications when your total monthly limit is reached
monthly_calls_limit number no Monthly call limit. The value is specified in the number of calls.
monthly_calls_notify_limit number no Threshold value of the monthly call limit, upon reaching which a notification is sent to the email address specified in the "monthly_calls_notify_email" parameter
monthly_calls_notify_emails array yes Maximum 5 addresses Email addresses to receive notifications when your monthly call limit is reached
daily_calls_limit number no Daily call limit. The value is specified in the number of calls.
daily_calls_notify_limit number no Threshold value of the daily call limit, upon reaching which a notification is sent to the email address specified in the "daily_calls_notify_email" parameter
daily_calls_notify_emails array yes Maximum 5 addresses Email addresses to receive notifications when the daily call limit has been reached

JSON request structure```json

{ "jsonrpc":"2.0", "id":"number", "method":"update.customers", "params":{ "access_token":"string", "id":"number", "name":"string", "description":"string", "monthly_base_limit":"number", "monthly_base_notify_limit":"number", "monthly_base_notify_emails":[ "item" ], "monthly_calls_limit":"number", "monthly_calls_notify_limit":"number", "monthly_calls_notify_emails":[ "item" ], "daily_calls_limit":"number", "daily_calls_notify_limit":"number", "daily_calls_notify_emails":[ "item" ] } }

### 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"