Skip to main content

customerCreate

Create a new customer profile without authentication capabilities.

Creates a customer record with personal and contact information but without login credentials. For customers who need login access, use customerRegister.

Possible errors:

  • CUSTOMER_ALREADY_EXISTS_ERROR: Customer with the provided email already exists
  • CUSTOMER_CREATE_ERROR: Failed to create the customer profile
  • EMAIL_ALREADY_IN_USE_ERROR: Email address is already associated with another account
  • USERGROUP_NOT_FOUND_ERROR: Parent usergroup does not exist

AUTH: Role=[user.OWNER]

customerCreate(
input: CustomerInput!
): Customer!

Arguments

customerCreate.input ● CustomerInput! non-null input

Customer creation input data.

Contains all the necessary information to create a new customer account in the system.

Type

Customer object

Customer entity representing a B2C customer with associated addresses.

Provides access to address information for customer accounts including delivery, billing, and contact addresses used for order fulfillment.