v1
latestOpenAPI 3.0.02026-07-2475182625.5 KBAccounts
Update an account
Updates an account by setting the values of the parameters passed. Any parameters not provided are left unchanged.
post/accounts/{account_id}
Path parameters
account_idstring required
Unique identifier for the account.
Request body
Example request
{
"contact": {
"first": "First",
"last": "Last",
"email": "first.last@domain.com",
"company": "Company Name",
"phone": "555-555-5555"
},
"language": "en",
"country": "US",
"lookup": {
"custom": "customKey"
}
}Response
OK
Example response
{
"id": "abcDEFgHiJklM1N-3OP9q",
"account": "abcDEFgHiJklM1N-3OP9q",
"action": "account.update",
"result": "success",
"accounts": [
{
"id": "abcDEFgHiJklM1N-3OP9q",
"account": "abcDEFgHiJklM1N-3OP9q",
"action": "account.update",
"result": "success"
}
]
}