Handle contact form with Storefront API

Peter_Papadimit
Tourist
5 1 2

We are currently building a custom storefront using the GraphQL Storefront API. In the past we had a custom Shopify Theme where contact forms were easy to throw onto a page using the contact template. Is there a GraphQL mutation of some sort that can be used for a form submission? Similar to how a contact form was handled in a Theme, we would just like a form to be submitted to our Shopify Store email address. I can't seem to find anything in the docs. Am I missing something? Any direction would be super helpful. Thanks!

0 Likes
vix
Shopify Staff
Shopify Staff
535 105 105

Hey @Peter_Papadimit 

 

This would not require the Storefront API to build out. You could use any form generator such as Typeform, Jotform etc. and add this to your custom storefront. 

Vix | 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

0 Likes