---
title: "Update an address"
method: PATCH
path: "/addresses/{addressId}"
tags: ["Addresses"]
---

# Update an address

`PATCH /addresses/{addressId}`

Updates an address, based on a given address ID. You can only update an address
    if it's not a registered address.

## Path parameters

- `addressId` string, uuid, required — The ID of the address to work with.

## Query parameters

- `accountId` string, required — The ID of the account to work with.

## Request body

- object
  - `type` string — The address type.
  - `nickName` string, nullable — The nickname of the address.
  - `addressLine1` string — The first line of the address.
  - `addressLine2` string, nullable — The second line of the address.
  - `addressLine3` string, nullable — The third line of the address.
  - `addressContact` string, nullable — The name of the contact associated with the address.
  - `city` string — The city of the address.
  - `postcode` string — The postal or ZIP code of the address.
  - `country` string — The country of the address.
  - `countryCode` string, nullable — ISO 3166-1 2 digit country code.

## Response `200`

OK

- object
  - `id` string, uuid, required — The ID of the address.
  - `type` string, required — The address type.
  - `nickName` string, nullable — The nickname of the address.
  - `addressLine1` string, required — The first line of the address.
  - `addressLine2` string, nullable — The second line of the address.
  - `addressLine3` string, nullable — The third line of the address.
  - `addressContact` string, nullable — The name of the contact associated with the address.
  - `city` string, required — The city of the address.
  - `postcode` string, required — The postal or ZIP code of the address.
  - `country` string, required — The country of the address.
  - `countryCode` string, nullable — ISO 3166-1 2 digit country code.

---

[API](https://skmtc.net/equalsmoney/apis/cis-api.md) · [All operations](https://skmtc.net/equalsmoney/apis/cis-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/equalsmoney/cis-api/revisions/a162c72b8bf6/schema)
