Skip to main content
Anchor to CustomerCreatePayload

CustomerCreatePayload

payload

Return type for customerCreate mutation.

•Customer

The created customer object.

•[CustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•[UserError!]!
non-nullDeprecated

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Creates a new Customer account with the provided contact information and login credentials. The customer can then sign in for things such as accessing their account, viewing order history, and managing saved addresses.


Caution

This mutation creates customer credentials. Ensure passwords are collected securely and never logged or exposed in client-side code.


Arguments

•CustomerCreateInput!
required

The fields used to create a new customer.



Was this section helpful?