client_update

Description 

Update client details

Parameters

tenant
client_account_code
cgrt_username
main_email
account_type
origination
termination
company_name
address_line_1
address_line_2
city
state_province
postcode_zip
country
telephone_number
max_per_minute_rate
max_daily_spend
enabled
tax_id
timezone
billing_email
noc_email
rates_email
currency
orig_credit_limit
orig_max_channels
orig_max_cps
low_balance_notification
account_blocked_alert
term_max_channels
send_welcome_email

Request

curl -X POST \
-H "Authorization: Token 3469bc9092c887da28b9704c79db0375e7168d8d" \
-H "Content-Type: application/json" \
-d '{"tenant" : "sbc.mydomain.com",
"client_account_code": "9287480680",
"cgrt_username": "farsana",
"main_email": "farsana@mydomain.com",
"account_type": "PREPAID",
"origination":"",
"termination":"",
"company_name": "New Company",
"address_line_1": "new address1",
"address_line_2": "new address2",
"city": "new city",
"state_province": "state test",
"postcode_zip": "54545",
"country": "UK",
"telephone_number": "96589856",
"max_per_minute_rate": 1.00,
"max_daily_spend": 25.00,
"enabled": true,
"tax_id":null,
"timezone": "America/New_York",
"billing_email": "test@test.com",
"noc_email": "",
"rates_email": "",
"currency": "USD",
"orig_credit_limit": null,
"orig_max_channels": 10,
"orig_max_cps": 5,
"low_balance_notification": null,
"account_blocked_alert": true,
"term_max_channels": 10,
"send_welcome_email": false
}' \
-k https://your.domain.com/api/users/client_update

Responses

{Status: Status: 200 OK}