Available queries
Associated query | Returns multiple results |
---|---|
CustomerAddress | |
CustomerAddresses | ✔️ |
Available fields
Label | Type | Notes | Null |
---|---|---|---|
address | Postal address | The customer's postal address | |
default_address | boolean | Indicates if this is the default address | |
id | integer | The customer address's id | |
label | string | The customer address's label | ✔️ |
phone | string | The customer address's phone number | ✔️ |
type | string | The customer address's type ("billing", "shipping", or "billing_and_shipping") |
Example of a query
query{
CustomerAddresses{
edges{
node{
address{
country
}
default_address
id
label
phone
type
}
}
}
}