---
title: "Update Address Book"
method: PUT
path: "/v4/addresses/{addressId}"
tags: ["Address Book"]
---

# Update Address Book

`PUT /v4/addresses/{addressId}`

Updates a shipping address from your address book

## Path parameters

- `addressId` string, required

## Request body

- UpdateAddressBook — Update AddAddressBook Request
  - `ContactName` string, nullable — Contact Name <br />The contact name or company name is required. <br />Up to 50 characters may be allowed.However it is carrier dependent. Some carriers may allow less.
  - `CompanyName` string, nullable — Company Name <br />The contact name or company name is required. <br />Up to 50 characters may be allowed.However it is carrier dependent. Some carriers may allow less.
  - `ContactEmail` string, email, nullable — Contact Phone Number
  - `ContactPhone` string, tel, nullable — Contact Phone Number
  - `Line1` string, required — Address Line 1 <br />Up to 50 characters may be allowed, however it is carrier dependent and some carriers may allow less.
  - `Line2` string, nullable — Address Line 2 <br />Up to 50 characters may be allowed, however it is carrier dependent and some carriers may allow less.
  - `Line3` string, nullable — Address Line 3 <br />Up to 50 characters may be allowed, however it is carrier dependent and some carriers may allow less.
  - `Town` string, required — Town <br />Up to 50 characters may be allowed, however it is carrier dependent and some carriers may allow less.
  - `Postcode` string, nullable — Postcode / Zip <br />Required for United Kingdom addresses and some international addresses. <br />The Countries API can be used to check whether postcode/zip code is required for a country. <br />Up to 20 characters may be allowed, however it is carrier dependent and some carriers may allow less.
  - `County` string, nullable — County / State / Province <br />May be required depending on the country. <br />For USA, Australia and Canada, if provided, must be a valid state code or name. <br />The Countries API can be used to check whether county/state is required for a country. <br />Up to 50 characters may be allowed, however it is carrier dependent and some carriers may allow less.
  - `CountryCode` string, required — Country Code <br />2 Digit ISO Country Code, per ISO 3166 Standard.
  - `What3Words` string, nullable — The what3words identifier for this address.

## Response `200`

The address book was updated successfully.

## Other responses

- `400` — Invalid request response.
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.dev/intersoftsapient/apis/sapient-core-api.md) · [All operations](https://skmtc.dev/intersoftsapient/apis/sapient-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/intersoftsapient/sapient-core-api/revisions/3315ad0b5875/schema)
