---
title: "update customer address"
method: PUT
path: "/api/v{version}/customers/{customerId}/address/{addressId}"
tags: ["customers"]
---

# update customer address

`PUT /api/v{version}/customers/{customerId}/address/{addressId}`

update customer address using customer id

## Path parameters

- `version` string, required
- `customerId` string, uuid, required
- `addressId` string, uuid, required

## Headers

- `X-Tenant` string, required

## Request body

- UpdateCustomerAddressRequest
  - `customerId` string, uuid
  - `addressId` string, uuid
  - `street` string, nullable
  - `city` string, nullable
  - `cityTerritoryId` string, uuid, nullable
  - `district` string, nullable
  - `districtTerritoryId` string, uuid, nullable
  - `postalCode` string, nullable
  - `country` string, nullable
  - `isPrimary` boolean, nullable
  - `coordinates` Coordinates
    - `lat` number, double, nullable
    - `lng` number, double, nullable

## Response `200`

OK

- UpdateCustomerAddressResponse
  - `id` string, uuid

---

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