AddressInput
The AddressInput object is the GraphQL data type of the input to our address query. It provides us with all the details we need regarding the address of a home.
Definition
Section titled “Definition”input AddressInput { street1: String! street2: String city: String! state: String! postalCode: String!}Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
street1 | String! | Street name of the address |
street2 | String | Extension of the street name |
city | String! | Name of the city the address belongs to |
state | String! | Name of the state the address belongs to (two-letter abbreviation) |
postalCode | String! | Postal code of the address |