Edit in GitHubLog an issue

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 clipboard
mutation {
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
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.