Skip to main content

CreateCustomerAddressInput

Address used as the new customer's default billing and shipping address.

input CreateCustomerAddressInput {
firstName: String!
lastName: String!
street: String!
city: String!
countryId: ID!
zipcode: String
company: String
}

Fields​

CreateCustomerAddressInput.firstName ● String! non-null scalar​

First name on the address.

CreateCustomerAddressInput.lastName ● String! non-null scalar​

Last name on the address.

CreateCustomerAddressInput.street ● String! non-null scalar​

Street and house number.

CreateCustomerAddressInput.city ● String! non-null scalar​

City.

CreateCustomerAddressInput.countryId ● ID! non-null scalar​

ID of the country.

CreateCustomerAddressInput.zipcode ● String scalar​

Postal code.

CreateCustomerAddressInput.company ● String scalar​

Company name on the address.

Member Of​

CreateCustomerInput input