# Accounts

Account operations

## Get accounts

 - [GET /v1/{countryCode}/accounts](https://test.docs.reece.tech/apis/customer/openapi/openapi-1/accounts/getaccounts.md): Returns the current state of accounts. Soft-deleted accounts are included by default and may be filtered using isDeleted. Results are ordered by createdAt ascending, then accountId ascending.

## Get account by accountId

 - [GET /v1/{countryCode}/accounts/{accountId}](https://test.docs.reece.tech/apis/customer/openapi/openapi-1/accounts/getaccount.md): Returns the current state of the specified account. If the account has been soft-deleted, its deleted state is returned.

## Get account versions

 - [GET /v1/{countryCode}/accounts/{accountId}/versions](https://test.docs.reece.tech/apis/customer/openapi/openapi-1/accounts/getaccountversions.md): Returns the retained version history of the specified account, including versions that represent a soft-deleted state. Results are ordered by updatedAt ascending, then version ascending.

## Get account version by version

 - [GET /v1/{countryCode}/accounts/{accountId}/versions/{version}](https://test.docs.reece.tech/apis/customer/openapi/openapi-1/accounts/getaccountversion.md): Returns the state of the specified account at the requested version. A version that is unknown or no longer retained returns 404.

