# The account address model

Source: https://developers.swell.is/backend-api/account-addresses/the-account-address-model

## Fields

- `id` (objectId): Unique identifier for the address.
- `active` (boolean): Whether the address is active on the account. Inactive accounts will not be returned in the [Storefront API](https://developers.swell.is/frontend-api/introduction). Default: `true`.
- `address1` (string, required): Primary street address.
- `address2` (string): Secondary street address.
- `city` (string): City where the address is located.
- `country` (string): Country of the residence.
- `date_created` (date): Date of the address creation.
- `date_updated` (date): Date the address was updated.
- `fingerprint` (string): A unique fingerprint hashed from specific address fields that is used to prevent duplicate entries.
- `first_name` (string): First name listed for the address.
- `last_name` (string): Last name listed for the address.
- `name` (string): Combined name listed for the address.
- `parent_id` (objectId, required): The corresponding account `id` for the address.
- `parent` (Account): Expandable link to the customer's account.
- `phone` (string): Phone number listed for the address.
- `state` (string): State of the address.
- `tax_id` (string): Tax identification number of the recipient, where required for customs or delivery.
- `zip` (string): Postal code of the address.

## Example response

```json
{
  "parent_id": "6296b0ad8f4d1100129e16c3",
  "name": "Adoring Fan",
  "first_name": "Adoring",
  "last_name": "Fan",
  "address1": "The Arena",
  "address2": "Arena District",
  "city": "Imperial City",
  "state": "CA",
  "zip": "94104",
  "country": "US",
  "phone": null,
  "company": null,
  "fingerprint": "92f130033566d9846522759d54cbf5e5",
  "date_created": "2022-06-07T13:35:12.281Z",
  "active": true,
  "id": "62acbbe0d69a3b0012c7eae5"
}
```
