AddressInput Input Type
input AddressInput {
firstName: String
lastName: String
companyName: String
streetAddress1: String
streetAddress2: String
city: String
cityArea: String
postalCode: String
country: CountryCode
countryArea: String
phone: String
metadata: [MetadataInput!]
skipValidation: Boolean = false
}
Fields
firstName
firstName · String
Given name.
lastName
lastName · String
Family name.
companyName
companyName · String
Company or organization.
streetAddress1
streetAddress1 · String
Address.
streetAddress2
streetAddress2 · String
Address.
city
city · String
City.
cityArea
cityArea · String
District.
postalCode
postalCode · String
Postal code.
country
country · CountryCode
Country.
countryArea
countryArea · String
State or province.
phone
phone · String
Phone number.
Phone numbers are validated with Google’s libphonenumber library.
metadata
metadata · [MetadataInput!]
Address public metadata. Can be read by any API client authorized to read the object it’s attached to.
Warning: never store sensitive information, including financial data such as credit card details.
skipValidation
skipValidation · Boolean
Determine if the address should be validated. By default, Saleor accepts only address inputs matching ruleset from [Google Address Data]{https://chromium-i18n.appspot.com/ssl-address), using i18naddress library. Some mutations may require additional permissions to use the the field. More info about permissions can be found in relevant mutation.
Added in Saleor 3.19Default: false.
Used by
- CheckoutCreateInput (inputs)
- checkoutBillingAddressUpdate (mutations)
- checkoutShippingAddressUpdate (mutations)
- Shop (objects)
- DraftOrderCreateInput (inputs)
- DraftOrderInput (inputs)
- OrderBulkCreateInput (inputs)
- OrderUpdateInput (inputs)
- WarehouseCreateInput (inputs)
- WarehouseUpdateInput (inputs)
- Product (objects)
- ProductChannelListing (objects)
- ProductVariant (objects)
- shopAddressUpdate (mutations)
- AccountInput (inputs)
- CustomerInput (inputs)
- UserCreateInput (inputs)
- accountAddressCreate (mutations)
- accountAddressUpdate (mutations)
- addressCreate (mutations)
- addressUpdate (mutations)
Schema: Saleor 3.23.43. Download SDL.