Skip to main content
mutation

Requires write_customers access scope.

Creates a new Customer in the store.

Accepts customer details including contact information, marketing consent preferences, and tax exemptions through the CustomerInput 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.

•CustomerInput!
required

The input fields to create a customer.


Was this section helpful?

Anchor to CustomerCreatePayload returnsCustomerCreatePayload returns

•Customer

The created customer.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?