Skip to main content

GuestCustomerInput

Buyer of an order who has no customer account in the shop, e.g. a marketplace buyer. A guest customer is created for every order, with the billing address as its default billing address and the shipping address as its default shipping address.

input GuestCustomerInput {
email: String!
firstName: String!
lastName: String!
accountType: CustomerAccountType
company: String
salutationId: ID
}

Fields​

GuestCustomerInput.email ● String! non-null scalar​

Email address of the buyer. Several guest customers may share an email address.

GuestCustomerInput.firstName ● String! non-null scalar​

First name of the buyer.

GuestCustomerInput.lastName ● String! non-null scalar​

Last name of the buyer.

GuestCustomerInput.accountType ● CustomerAccountType enum​

Customer type. Either Private or Business. Defaults to Private.

GuestCustomerInput.company ● String scalar​

Company of the buyer.

GuestCustomerInput.salutationId ● ID scalar​

ID of the salutation of the buyer.

Member Of​

CreateOrderInput input