Phone validation

Hi guys,

We are having issues with the phone validation when creating orders through API (post orders call). A lot of them return an error that says ‘Phone is invalid’. Is there any way we can skip that validation? We are expecting a lot of orders to be created in Shopify by our system and it seems like a lot of the phones we get within the eBay/Amazon orders are incorrect. Thank you!

@DarinaNaydenov - that is definitely odd, thanks for getting in touch! I can say that sometimes if a different service allows certain styles/formatting for phone numbers when the customer profiles are imported into Shopify, it could trigger an error like this. At the moment, there’s not a way to skip the validation as we do require phone numbers to be supplied in E.164 format.

If you have an X-Request-ID for one of the API calls where you noticed the error, I’d be happy to take a look on our end to see if we can find out why the error is showing though - my thinking is it may have to do with the formatting, but I’m always happy to take a deeper look.

Hope this helps - just reach out again here if need be and we’ll try to help as soon as possible.

1 Like