Phone validation

Topic summary

A user is encountering ‘Phone is invalid’ errors when creating orders via Shopify’s API, particularly for orders imported from eBay and Amazon that contain incorrectly formatted phone numbers.

Current Limitation:

  • Phone validation cannot be skipped
  • Shopify requires phone numbers in E.164 format for API calls

Suggested Next Steps:

  • The issue likely stems from formatting differences between platforms
  • Support offered to investigate specific cases if an X-Request-ID is provided from a failed API call

Status: The discussion remains open with no resolution yet, though a potential path forward (providing request IDs for investigation) has been identified.

Summarized with AI on October 23. AI used: claude-sonnet-4-5-20250929.

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

(post deleted by author)