Skip to main content

AddressInput Input Type

No description

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
}

Fields

firstName ● String

Given name.

lastName ● String

Family name.

companyName ● String

Company or organization.

streetAddress1 ● String

Address.

streetAddress2 ● String

Address.

city ● String

City.

cityArea ● String

District.

postalCode ● String

Postal code.

country ● CountryCode

Country.

countryArea ● String

State or province.

phone ● String

Phone number.

Phone numbers are validated with Google's libphonenumber library.

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 ● 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.19
This API is currently in Feature Preview and can be subject to changes at later point.

Member Of

accountAddressCreate mutation ● accountAddressUpdate mutation ● AccountInput input ● addressCreate mutation ● addressUpdate mutation ● checkoutBillingAddressUpdate mutation ● CheckoutCreateInput input ● checkoutShippingAddressUpdate mutation ● CustomerInput input ● DraftOrderCreateInput input ● DraftOrderInput input ● OrderBulkCreateInput input ● OrderUpdateInput input ● shopAddressUpdate mutation ● UserCreateInput input ● WarehouseCreateInput input ● WarehouseUpdateInput input