**Version: 202201**

# Set Default Address

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

Sets the specified address as the customer's default address.

## Request

**Path Parameters**

- `customer_id` string (required)

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

  Address's ID

## Responses

**200 | 400 | 404**

200

**application/json**

No schema

400

**application/json**

No schema

404

**application/json**

**Schema | Example | Result**

**Schema**

- `errors` string[]

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

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