Handle contact form with Storefront API

Peter_Papadimit
Tourist
6 1 3

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!

Replies 2 (2)

vix
Shopify Staff
540 103 121

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. 

To learn more visit the Shopify Help Center or the Community Blog.

neeraj_dang
Shopify Partner
8 0 0

Hi Vix,

We are having same problem. We need to use shopify default contact form submission from shopify hydrogen platform. Please let us know if there is any alternate solution use the form submission service.