# Update client communication preferences

Update client communication preferences

Endpoint: POST /slapi/clients/updateclientcommpref
Version: 0.0.1
Security: BasicAuthCredentials

## Security:

  - `BasicAuthCredentials` (unknown)
    http basic

## Request fields (application/json):

  - `clientNumber` (string)
    Example: 0000000001

  - `doNotSolicit` (integer)
    Example: 0

  - `email` (integer)
    Example: 1

  - `cellText` (integer)
    Example: 1

  - `cellVoice` (integer)
    Example: 1

  - `homeVoice` (integer)
    Example: 1

  - `workVoice` (integer)
    Example: 1

  - `mail` (integer)
    Example: 1

## Response 201:

  - `201` (unknown)
    Updated communication preferences successfully

## Response 201 fields (applicaiton/json):

  - `message` (string)

## Response 400:

  - `400` (unknown)
    Client not found

## Response 400 fields (applicatoin/json):

  - `error` (string)

  - `message` (string)

