Skip to main content

CustomerAddressCreateInput

No description

input CustomerAddressCreateInput {
firstName: String
middleName: String
lastName: String
gender: Gender
company: String
street: String!
number: String
numberExtension: String
postalCode: String!
city: String!
region: String
country: String!
phone: String
mobile: String
email: String
code: String
notes: String
isDefault: YesNo
icp: YesNo
customerId: Int!
type: AddressType!
}

Fields​

CustomerAddressCreateInput.firstName ● String scalar​

User first name the address applies to

CustomerAddressCreateInput.middleName ● String scalar​

User middle name the address applies to

CustomerAddressCreateInput.lastName ● String scalar​

User last name the address applies to

CustomerAddressCreateInput.gender ● Gender enum​

User gender the address applies to

CustomerAddressCreateInput.company ● String scalar​

User company the address applies to

CustomerAddressCreateInput.street ● String! non-null scalar​

User street address

CustomerAddressCreateInput.number ● String scalar​

User street number

CustomerAddressCreateInput.numberExtension ● String scalar​

User street number extension

CustomerAddressCreateInput.postalCode ● String! non-null scalar​

Address postal code

CustomerAddressCreateInput.city ● String! non-null scalar​

Address city

CustomerAddressCreateInput.region ● String scalar​

Address region

CustomerAddressCreateInput.country ● String! non-null scalar​

Address country

CustomerAddressCreateInput.phone ● String scalar​

Address fixed phone number [min: 6, max: 30]

CustomerAddressCreateInput.mobile ● String scalar​

Address mobile number [min: 6, max: 30]

CustomerAddressCreateInput.email ● String scalar​

Address email [valid email format required]

CustomerAddressCreateInput.code ● String scalar​

Address code

CustomerAddressCreateInput.notes ● String scalar​

Address delivery notes

CustomerAddressCreateInput.isDefault ● YesNo enum​

Indicates whether the address is default for its type

CustomerAddressCreateInput.icp ● YesNo enum​

ICP address field defines whether tax should be applied to an order if the address is selected as a delivery address. Used when shipping b2b order abroad

CustomerAddressCreateInput.customerId ● Int! non-null scalar​

Address customer primary identifier

CustomerAddressCreateInput.type ● AddressType! non-null enum​

Address type [one of 'home', 'delivery' or 'invoice']

Member Of​

customerAddressCreate mutation