# Update client demographics

Field is only updated if a value is passed

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

## Security:

  - `BasicAuthCredentials` (unknown)
    http basic

## Request fields (application/json):

  - `clientnumber` (string)
    Example: 0000000002

  - `firstName` (string)
    Example: John

  - `lastName` (string)
    Example: Doe

  - `middleInit` (string)
    Example: D

  - `address1` (string)
    Example: 1 Main st

  - `address2` (string)
    Example: Suite 10

  - `city` (string)
    Example: Buffalo

  - `state` (string)
    Example: NY

  - `zip` (string)
    Example: 14220

  - `homePhone` (string)
    Example: 7165551234

  - `workPhone` (string)
    Example: 7165555678

  - `cellPhone` (string)
    Example: 7165550987

  - `email` (string)
    Example: test@test.com

  - `dob` (string)
    Example: 1980-12-25

  - `clearBlankFields` (boolean)
    Example: false

## Response 201:

  - `201` (unknown)
    Inserts a client

## Response 201 fields (applicaiton/json):

  - `clientNumber` (string)
    Example: 0000000001

  - `message` (string)
    Example: Client updated successfully

## Response 400:

  - `400` (unknown)
    Could not update client

## Response 400 fields (applicatoin/json):

  - `error` (string)

  - `message` (string)

