---
title: "Changes to Update account information"
method: PUT
path: "/api/creditcontrol/accounts/{creditAccountId}"
---

# Changes to Update account information

`PUT /api/creditcontrol/accounts/{creditAccountId}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 51 revisions.

- **2023-12-21** `0cfe5b381175` — 10 warning
- **2023-11-27** `25c08deef792` — 1 breaking, 3 warning, 3 info
- **2023-11-24** `c8735f67eb83` — 3 breaking, 1 warning, 18 info

## Changes

- **2023-12-21** `0cfe5b381175` — 10 warning
  - the optional response header `Connection` removed for the status `200`
  - the optional response header `Content-Length` removed for the status `200`
  - the optional response header `Date` removed for the status `200`
  - the optional response header `Server` removed for the status `200`
  - the optional response header `X-CDNIgnore` removed for the status `200`
  - the optional response header `X-Powered-by-VTEX-Janus-Edge` removed for the status `200`
  - the optional response header `X-Track` removed for the status `200`
  - the optional response header `X-Translate` removed for the status `200`
  - the optional response header `X-Translate-BackEnd` removed for the status `200`
  - the optional response header `X-VTEX-Janus-Router-Backend-App` removed for the status `200`
- **2023-11-27** `25c08deef792` — 1 breaking, 3 warning, 3 info
  - request property `documentType` was restricted to a list of enum values
  - added the new `CNPJ` enum value to the `documentType` response property for the response status `200`
  - added the new `CPF` enum value to the `documentType` response property for the response status `200`
  - added the new `Other` enum value to the `documentType` response property for the response status `200`
  - added the new `CNPJ` enum value to the request property `documentType`
  - added the new `CPF` enum value to the request property `documentType`
  - added the new `Other` enum value to the request property `documentType`
- **2023-11-24** `c8735f67eb83` — 3 breaking, 1 warning, 18 info
  - added the new required request property `document`
  - added the new required request property `documentType`
  - the response's body type changed from `string` to `object` for status `200`
  - removed the request property `description`
  - added the new optional request property `creditLimit`
  - added the new optional request property `tolerance`
  - the `email` request property default value `email@domain.com` was removed
  - media type `application/json; charset=utf-8` was changed to `application/json` for the response status `200`
  - added the optional property `description` to the response with the `200` status
  - added the optional property `document` to the response with the `200` status
  - added the optional property `documentType` to the response with the `200` status
  - added the required property `availableBalance` to the response with the `200` status
  - added the required property `availableCredit` to the response with the `200` status
  - added the required property `balance` to the response with the `200` status
  - added the required property `createdAt` to the response with the `200` status
  - added the required property `creditLimit` to the response with the `200` status
  - added the required property `email` to the response with the `200` status
  - added the required property `id` to the response with the `200` status
  - added the required property `preAuthorizedCredit` to the response with the `200` status
  - added the required property `status` to the response with the `200` status
  - added the required property `tolerance` to the response with the `200` status
  - added the required property `updatedAt` to the response with the `200` status

---

[Operation](https://skmtc.dev/vtex/apis/customer-credit-api/docs/api/creditcontrol/accounts/:creditAccountId/put.md) · [API](https://skmtc.dev/vtex/apis/customer-credit-api.md) · [Page](https://skmtc.dev/vtex/apis/customer-credit-api/changes/api/creditcontrol/accounts/:creditAccountId/put)
