Anchor to customerCreatecustomer
mutationcustomer Create
Requires access scope.
Creates a new Customer in the store.
Accepts customer details including contact information, marketing consent
preferences, and tax exemptions through the
input object. You can also associate metafields
and tags to organize and extend customer data.
Apps using protected customer data must meet Shopify's protected customer data requirements.
Anchor to Arguments
Arguments
- input (CustomerInput!)
- Anchor to inputinput•Customer
Input! required The input fields to create a customer.
Show input fields
Was this section helpful?
- customer (Customer)
- userErrors ([UserError!]!)
- Anchor to customercustomer•Customer
The created customer.
Show fields
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.
Show fields
Was this section helpful?