##Available queries
| Associated query | Returns multiple results |
|---|---|
| PostalAddress | |
| CustomerPostalAddress | |
| PostalAddresses | ✔️ |
| CustomerPostalAddresses | ✔️ |
##Available fields
| Label | Type | Notes | Null |
|---|---|---|---|
| address1 | string | The first part of the address (ex : "4 private drive") | ✔️ |
| address2 | string | The second part of the address (ex : "In the closet under he stairs") | ✔️ |
| city | string | The city (ex : "Little Whinging") | ✔️ |
| country | string | The country (ex : "United kingdom") | ✔️ |
| dependent_locality | string | Only used in certain countries, the locality from which the address depends for mail (ex : "Bethnal Green") | ✔️ |
| location_name | string | The location's name (ex : "A very normal house") | ✔️ |
| postal_code | string | The location's postal code (ex : " E2 1AA") | ✔️ |
| province | string | The province (ex : "Surrey") | ✔️ |
| sub_administrative_area | string | The sub administrative area, depends on each country | ✔️ |
| sub_premise | string | The sub premise, depends on each country | ✔️ |
##Example of a query
query{
PostalAddresses{
edges{
node{
address1
address2
city
country
dependent_locality
location_name
postal_code
province
sub_administrative_area
sub_premise
}
}
}
}
