contactUs mutation
The contactUs
mutation submits the contents of the Contact Us form.
Syntax
mutation: contactUs(input: ContactUsInput!): ContactUsOutput
Reference
The contactUs
reference provides detailed information about the types and fields defined in this mutation.
Example usage
The following example adds a Contact Us form to the site.
Request:
Copied to your clipboardmutation {contactUs(input: {comment: "My comment",email: "bobloblaw@example.com",telephone: "(555)-CALL-BOB",name: "Bob Loblaw" }) {status}}
Response:
Copied to your clipboard{"data": {"contactUs": {"status": true}}}