New Shopify Certification now available: Liquid Storefronts for Theme Developers

GraphQL customerCreate

Solved
juustanotherdev
Tourist
8 1 2

Hello everyone,

 

Right now I experience troubles with the StoreFront API "customerCreate". Maybe someone can help me out on this.

The setup looks as follows:

  1. storeFrontApiVersion '2022-07' 
  2. All permissions set including: unauthenticated_write_customers
  3. Email and Password are set in the request

Response looks as follows:

 

QueryResult OperationException(linkException: null, graphqlErrors: [GraphQLError(message: Kundenkonten sind deaktiviert., locations: [ErrorLocation(line: 3, column: 3)], path: [customerCreate], extensions: null)])

 

"Kundenkonten sind deaktiviert" equals "Customer is disabled." if am correct in the error list.

 

Does anyone could give me a hint if something is missing to make this work? 

 

LG

 

Accepted Solution (1)
juustanotherdev
Tourist
8 1 2

This is an accepted solution.

Answer:

  1. Open Shopify Settings
  2. Click 'Checkout'
  3. In 'Customer accounts' select 'Accounts are optional' or 'Accounts are required'

Hope it will save some time for other people with the same problem. 

View solution in original post

Reply 1 (1)
juustanotherdev
Tourist
8 1 2

This is an accepted solution.

Answer:

  1. Open Shopify Settings
  2. Click 'Checkout'
  3. In 'Customer accounts' select 'Accounts are optional' or 'Accounts are required'

Hope it will save some time for other people with the same problem.