Skip to main content

UserAddressCreateInput

No description

input UserAddressCreateInput {
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
userId: Int!
type: AddressType!
}

Fields

UserAddressCreateInput.firstName ● String scalar

User first name the address applies to

UserAddressCreateInput.middleName ● String scalar

User middle name the address applies to

UserAddressCreateInput.lastName ● String scalar

User last name the address applies to

UserAddressCreateInput.gender ● Gender enum

User gender the address applies to

UserAddressCreateInput.company ● String scalar

User company the address applies to

UserAddressCreateInput.street ● String! non-null scalar

User street address

UserAddressCreateInput.number ● String scalar

User street number

UserAddressCreateInput.numberExtension ● String scalar

User street number extension

UserAddressCreateInput.postalCode ● String! non-null scalar

Address postal code

UserAddressCreateInput.city ● String! non-null scalar

Address city

UserAddressCreateInput.region ● String scalar

Address region

UserAddressCreateInput.country ● String! non-null scalar

Address country

UserAddressCreateInput.phone ● String scalar

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

UserAddressCreateInput.mobile ● String scalar

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

UserAddressCreateInput.email ● String scalar

Address email [valid email format required]

UserAddressCreateInput.code ● String scalar

Address code

UserAddressCreateInput.notes ● String scalar

Address delivery notes

UserAddressCreateInput.isDefault ● YesNo enum

Indicates whether the address is default for its type

UserAddressCreateInput.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

UserAddressCreateInput.userId ● Int! non-null scalar

Address user primary identifier

UserAddressCreateInput.type ● AddressType! non-null enum

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

Member Of

userAddressCreate mutation