Przejdź do głównej zawartości

CustomerRegistrationAddressInput

Address collected at signup — stored as the default customer address.

input CustomerRegistrationAddressInput {
address1: String!
address2: String
buildingNumber: String
city: String!
company: String
country: CountryCode!
firstName: String
flatNumber: String
lastName: String
phone: String
postalCode: String!
}

Fields

CustomerRegistrationAddressInput.address1 ● String! non-null scalar

Street address line 1.

CustomerRegistrationAddressInput.address2 ● String scalar

Street address line 2.

CustomerRegistrationAddressInput.buildingNumber ● String scalar

Building / house number as a discrete field. Required for Polish addresses (country: PL).

CustomerRegistrationAddressInput.city ● String! non-null scalar

City.

CustomerRegistrationAddressInput.company ● String scalar

Company name for the default address (defaults to customer company).

CustomerRegistrationAddressInput.country ● CountryCode! non-null enum

ISO 3166-1 alpha-2 country code.

CustomerRegistrationAddressInput.firstName ● String scalar

First name for the default address (defaults to customer firstName).

CustomerRegistrationAddressInput.flatNumber ● String scalar

Flat / apartment number as a discrete field.

CustomerRegistrationAddressInput.lastName ● String scalar

Last name for the default address (defaults to customer lastName).

CustomerRegistrationAddressInput.phone ● String scalar

Phone number for the default address (defaults to customer phone).

CustomerRegistrationAddressInput.postalCode ● String! non-null scalar

Postal code.

Member Of

CustomerCreateInput input