##Available queries
Associated query | Returns multiple results |
---|---|
BillToAddress | |
ShipToAddress | |
BillToAddresses | ✔️ |
ShipToAddresses | ✔️ |
##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 the 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") | ✔️ |
phone_number | string | The location's phone number (ex : "313") | ✔️ |
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{
BillToAddresses{
edges{
node{
address1
address2
city
country
dependent_locality
location_name
phone_number
postal_code
province
sub_administrative_area
sub_premise
}
}
}
}