| Time | Status | User Agent |
| :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

Updates a specified Customer Account in Zeal.

## Returns   
Returns response status and updated Customer Account object.

| attribute | type | description |
| --- | --- | --- |
| success | boolean | Response status |
| data | array | Updated Customer Account object |
| errors | array | Contains list of error objects which consists of:<br>`message`: Error message<br>`code`: Error code as described in [Error codes](https://docs.zeal.com/reference/error-codes) |

### Fields:
- **id** (string, required)
- **companyID** (string, required) - ID of the Company.
- **ein** (string) - EIN of the customer account
- **legal_structure** (string, enum) - Federal tax classification of the customer account entity
  - ccorpcorpestateforeign_entity
  - llcllp
  - nonprofit
  - partnership
  - schemes
  - corpe
  - soleprop
  - trust.
- **phone** (string) - Phone number of the customer account
- **email** (string) - Business email of the customer account
- **business_address** (string) - Street address of the customer account
- **business_city** (string) - City of the customer account
- **business_state** (string) - State of the customer account
- **business_zip** (string) - Zip code of the customer account
- **code** (string) - Custom code to be associated with the customer code.
- **status** (string, enum) - Status of the customer account
  - Allowed:
    - `live`
- **business_owner** (object) - Business owner of the customer account

### Example Request: 
```bash
curl --request PATCH \
     --url https://api.zeal.com/customer-accounts/id \
     --header 'accept: application/json'\
     --header 'content-type: application/json'
```

### Responses:
- **200** - Result
- **400** - Result
