Closed dri94 closed 4 years ago
A phone number formatted like that should work, provided that you are passing in a valid country code and area code.
The documentation needs to be updated to state phone must be E164 format. The error returned simply says "Phone is invalid" when it should say that the phone is already registered with another customer, or that the phone format is wrong.
Thank you for your patience. We have added this suggestion to our backlog, and we will be addressing it in the new year.
We have updated the API documentation: https://help.shopify.com/en/api/storefront-api/reference/mutation/customercreate
The description for phone
input now explicitly mentions formatting using E.164 standard.
The next time the SDK is updated, all comments in Storefront.java will also be updated to mention the format as well.
When trying to create a user i continuously get phone number is not valid. My code is
I tried replacing the info on the input to my personal info but the same error comes back