Account Address Model

The Account Address Model is the model that is most often found within the Account Model and contains information about its contact address. Its fields are presented in the table (Table 4.4), with an example (Listing 4.3).

Table 4.4 – Fields of Account Address Model

Key
Type
Exists

1

house_number

string

optional

2

street

string

optional

3

addition

string

optional

4

city

string

optional

5

state

string

optional

6

country_code

string

optional

7

postal_code

string

optional

Listing 4.3 – Example of Account Address Model (JSON)

{
     "house_number":  "52/1",
     "street":        "Green Street",
     "addition":      "Office 23",
     "city":          "Example City",
     "state":         "Example State",
     "country_code":  "US",
     "postal_code":   "17000"
}

Last updated