# smootify:created_address

> a `create-address` form saved an address

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/reference/api/events/created-address  
Updated: 2026-10-13

a `create-address` form saved an address Since 1.x.

## Listen

```js
window.Smootify = window.Smootify || [];
window.Smootify.push((api) => {
  api.on("created_address", (payload) => {
    // …
  });
});
```

## Payload

```ts
{ address: CustomerAddress }
```

### CustomerAddress

```ts
export interface CustomerAddress {
  id: string;
  formatted: string[];
  name: string | null;
  address1: string | null;
  address2: string | null;
  city: string | null;
  company: string | null;
  firstName: string | null;
  lastName: string | null;
  phoneNumber: string | null;
  countryCode: string | null;
  zip: string | null;
  zoneCode: string | null;
}
```
