customer Create
Requires access scope.
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.
This mutation creates customer credentials. Ensure passwords are collected securely and never logged or exposed in client-side code.
This mutation creates customer credentials. Ensure passwords are collected securely and never logged or exposed in client-side code.
Caution: This mutation creates customer credentials. Ensure passwords are collected securely and never logged or exposed in client-side code.
Arguments
- input (CustomerCreateInput!)
- Anchor to inputinput•Customer
Create Input! required The fields used to create a new customer.
- customer (Customer)
- customerUserErrors ([CustomerUserError!]!)
- userErrors ([UserError!]!): deprecated
- Anchor to customercustomer•Customer
The created customer object.
- Anchor to customerUserErrorscustomer•[Customer
User Errors User Error!]! non-null The list of errors that occurred from executing the mutation.
- Anchor to userErrorsuser•[User
Errors Error!]! non-nullDeprecated The list of errors that occurred from executing the mutation.