Update Account
POST/account/update
Partially updates an existing account by accountId and returns the updated object. Omitted fields keep their current values; set ownerId or teamId to null to clear them. customFields replaces the whole custom field map; use customFieldsPatch to set or clear (null) only the fields you name, keeping the rest, including fields you cannot view. contacts and notes are added or updated, and deletedContacts and deletedNotes remove entries by ID. To delete notes, read their noteIds from /account/get and send them in deletedNotes with the accountId; deleted notes cannot be restored. Use /account/batch to delete notes on several accounts. Set workflowActionId or workflowStageId to record a workflow action or move the account to a stage; actions restricted to specific roles require the caller to hold one of them. actorId may be a User ID, email, or clientUserId; omit it to attribute new workflow history to the authenticated user. The caller must be the account's owner or closer, or hold the account:save permission. Changing the owner, closer, or team also requires the account:manage permission. Use /account/upsert instead when you only have an external identifier, and /account/batch to update several accounts in one request.
Request
Responses
- 200
- default
- 4XX
Success
Error
Unauthorized