Unable to create customers using shopify api

Shopify Partner
8 0 0

I am unable to create customers on shopify store using shopify API. Getting Unprocessable Entity with 422 status code.

Here is my api request Id (in headers): 5cc688f0-27eb-4ef1-a328-6543a144c22a

Please help.

Reply 1 (1)
Shopify Staff
Shopify Staff
1098 146 229

Hey @codechefkk,


Check the response body for the errors - in this case "Email has already been taken".

Scott | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog