Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.
Solved

Storefront API checkoutCreate use email_or_phone attribute

Bogdan_Hiriscau
Shopify Partner
3 0 0

Hello,

I am using the checkoutCreate mutation, everything is working flawlessly, but I need to complete the checkout without an E-mail address. Is it possible to replace the email attribute of the mutation with phone or email_or_phone like the checkout supports.

Accepted Solution (1)

Josh
Shopify Staff
1134 84 233

This is an accepted solution.

Hey @Bogdan_Hiriscau ,

 

At this time, this isn't possible when creating a checkout with the Storefront API. With that being said though, I'll file a request to have this added as it makes sense to mirror the behaviour of the online checkout. Thanks for bringing this up! 

Josh | 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 the Shopify Help Center or the Shopify Blog

View solution in original post

Replies 2 (2)

Josh
Shopify Staff
1134 84 233

This is an accepted solution.

Hey @Bogdan_Hiriscau ,

 

At this time, this isn't possible when creating a checkout with the Storefront API. With that being said though, I'll file a request to have this added as it makes sense to mirror the behaviour of the online checkout. Thanks for bringing this up! 

Josh | 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 the Shopify Help Center or the Shopify Blog

sancodellc
Visitor
2 0 0

Hi @Josh 

 

Is there an update on creating a checkout with storefront API using phone number? This is important for markets with customer storefronts where customers frequently prefer giving their phone number over email.