Skip to main content

createCustomer

Creates a customer along with its default billing/shipping address. The customer number is generated from the customer number range when omitted, and the language is inherited from the sales channel. Returns the created customer.

createCustomer(
input: CreateCustomerInput!
): Customer!

Arguments

createCustomer.input ● CreateCustomerInput! non-null input

Type

Customer object

A customer of the shop. Carries identity and contact details, the assigned customer group and sales channel, and the customer's order history.