Skip to main content
Anchor to CustomerCreatePayload

CustomerCreatePayload

payload

Return type for customerCreate mutation.

•Customer

The created customer.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

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.

Arguments

•CustomerInput!
required

The input fields to create a customer.



Was this section helpful?