**Version: 202201**

# Get Address Details

**GET** `/openapi/2022-01/customers/:customer_id/addresses/:address_id`

Retrieve details of a specific address using its unique identifier.

## Request

**Path Parameters**

- `customer_id` string (required)

  Customer's ID
- `address_id` string (required)

  Address's ID

## Responses

**200 | 400 | 404**

200

**application/json**

**Schema | Example | Result**

**Schema**

- `address` object

  - `id` string

    **Example:** `2490dc6a-d511-4e5e-bbcb-d58e913243ad`
  - `customer_id` string

    **Example:** `2dd957e3-2051-4cdf-8584-9c0046b4d1ae`
  - `first_name` string

    **Example:** `Ryan`
  - `last_name` string

    **Example:** `zhang`
  - `company` string

    **Example:** `ABC Limited`
  - `city` string

    **Example:** `SAN JOSE`
  - `province` string

    **Example:** `New Mexico`
  - `country` string

    **Example:** `United States`
  - `zip` string

    **Example:** `87036`
  - `province_code` string

    **Example:** `NM`
  - `country_code` string

    **Example:** `US`
  - `gender` string

    **Example:** `male`
  - `phone` string

    **Example:** `+8615015570043`
  - `phone_area_code` string

    **Example:** `+86`
  - `area` string

    **Example:** `Bay area`
  - `email` string

    **Example:** `ryan@shoplazza.com`
  - `name` string

    **Example:** `Ryan zhang`
  - `address1` string

    **Example:** `1 Rue des Carrieres`
  - `address2` string

    **Example:** `Suite 1234`
  - `country_name` string

    **Example:** `United States`
  - `default` boolean

    **Default value:** `true`

    **Example:** `true`

```json
{
  "address": {
    "id": "2490dc6a-d511-4e5e-bbcb-d58e913243ad",
    "customer_id": "2dd957e3-2051-4cdf-8584-9c0046b4d1ae",
    "first_name": "Ryan",
    "last_name": "zhang",
    "company": "ABC Limited",
    "city": "SAN JOSE",
    "province": "New Mexico",
    "country": "United States",
    "zip": "87036",
    "province_code": "NM",
    "country_code": "US",
    "gender": "male",
    "phone": "+8615015570043",
    "phone_area_code": "+86",
    "area": "Bay area",
    "email": "ryan@shoplazza.com",
    "name": "Ryan zhang",
    "address1": "1 Rue des Carrieres",
    "address2": "Suite 1234",
    "country_name": "United States",
    "default": true
  }
}
```

```json
{
    "address": {
        "id": "2490dc6a-d511-4e5e-bbcb-d58e913243ad",
        "customer_id": "2dd957e3-2051-4cdf-8584-9c0046b4d1ae",
        "first_name": "Ryan",
        "last_name": "zhang",
        "company": "ABC Limited",
        "city": "SAN JOSE",
        "province": "New Mexico",
        "country": "United States",
        "zip": "87036",
        "province_code": "NM",
        "country_code": "US",
        "gender": "male",
        "phone": "+8615015570043",
        "phone_area_code": "+86",
        "area": "Bay area",
        "email": "ryan@shoplazza.com",
        "name": "Ryan zhang",
        "address1": "1 Rue des Carrieres",
        "address2": "Suite 1234",
        "country_name": "United States",
        "default": true
    }
}
```

400

**application/json**

**Schema | Example | Result**

**Schema**

- `errors` string[]

```json
{
  "errors": [
    ""
  ]
}
```

```json
{
  "errors": [
    ""
  ]
}
```

404

**application/json**

**Schema | Example | Result**

**Schema**

- `errors` string[]

```json
{
  "errors": [
    "Record not found"
  ]
}
```

```json
{
  "errors": [
    "Record not found"
  ]
}
```
