# CustomerAddress

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

An address on a customer's record. Supplying an address at all is optional (see
`addresses`); an entry that <em>is</em> supplied must carry
`address1`, `city`, `state` and `zip`.

## Fields
- `id` (string(uuid)): Gets the unique identifier for the address. (read only)
- `address1` (string) required: Gets or sets the first line of the address (e.g., street address). (nullable, max length 100)
- `address2` (string): Gets or sets the second line of the address (e.g., apartment, suite, unit, building, floor, etc.). (nullable, max length 100)
- `city` (string) required: Gets or sets the city of the address. (nullable, max length 100)
- `state` (string) required: Gets or sets the state or region of the address. (nullable, max length 100)
- `province` (string): Gets or sets the province of the address (if applicable). (nullable)
- `zip` (string) required: Gets or sets the ZIP code of the address. Conditional: Conditional (see validator source). Pattern: ^\d{5}(-\d{4})?$. Conditional: When IsUsCountry(Country) is false. Max length: 20. (nullable)
- `postalCode` (string): Gets or sets the postal code of the address. (nullable, max length 20)
- `country` (string): Gets or sets the country of the address. Defaults to "USA". (nullable, max length 100)
- `isMailing` (boolean): Gets or sets a value indicating whether this address is a mailing address.
- `isDefault` (boolean): Gets or sets a value indicating whether this address is the default address.

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
