For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
    • About Our APIs
  • REST
    • Overview
  • GraphQL
    • Overview
      • Playground
      • Explorer
          • MUTcreateCart
          • MUTdeleteCart
          • MUTaddCartLineItems
          • MUTupdateCartLineItem
          • MUTdeleteCartLineItem
          • MUTupdateCartCurrency
          • MUTassignCartToCustomer
          • MUTunassignCartFromCustomer
          • MUTcreateCartMetafield
          • MUTupdateCartMetafield
          • MUTdeleteCartMetafield
          • MUTcreateCartRedirectUrls
          • MUTcreateCheckout
          • MUTupdateCheckout
          • MUTaddCheckoutBillingAddress
          • MUTupdateCheckoutBillingAddress
          • MUTupdateCheckoutCustomerMessage
          • MUTselectCheckoutShippingOption
          • MUTapplyCheckoutCoupon
          • MUTunapplyCheckoutCoupon
          • MUTapplyCheckoutGiftCertificate
          • MUTunapplyCheckoutGiftCertificate
          • MUTapplyCheckoutSpamProtection
          • MUTaddCheckoutShippingConsignments
          • MUTupdateCheckoutShippingConsignment
          • MUTdeleteCheckoutConsignment
          • MUTcompleteCheckout
          • MUTlogin
          • MUTlogout
          • MUTcreateWishlist
          • MUTaddWishlistItems
          • MUTdeleteWishlistItems
          • MUTupdateWishlist
          • MUTdeleteWishlists
          • MUTloginWithCustomerLoginJwt
          • MUTsubmitContactUs
          • MUTgenerateSessionSyncJwt
          • MUTvalidateSessionSyncJwt
          • MUTproductViewedEvent
          • MUTpageViewedEvent
          • MUTvisitStartedEvent
          • MUTsearchProductEvent
          • MUTpreviewGiftCertificate
          • MUTregisterCompany
          • MUTaddProductReview
          • MUTchangePassword
          • MUTrequestResetPassword
          • MUTresetPassword
          • MUTregisterCustomer
          • MUTupdateCustomer
          • MUTaddCustomerAddress
          • MUTupdateCustomerAddress
          • MUTdeleteCustomerAddress
          • MUTpayment
          • MUTsubscribe
          • MUTunsubscribe
  • MCP
    • Overview
Dev Portal
LogoLogo
GraphQLStorefrontMutations

submitContactUs

Example Query
1mutation ExampleMutation($reCaptchaV2: ReCaptchaV2Input, $input: SubmitContactUsInput) {
2 submitContactUs(reCaptchaV2: $reCaptchaV2, input: $input) {
3 errors
4 }
5}
Variables
1{
2 "reCaptchaV2": {
3 "token": "example"
4 },
5 "input": {
6 "pageEntityId": 0,
7 "data": {
8 "fullName": "example",
9 "phoneNumber": "example",
10 "email": "example",
11 "orderNumber": "example",
12 "companyName": "example",
13 "rmaNumber": "example",
14 "comments": "example"
15 }
16 }
17}
Example response
1{
2 "data": {
3 "submitContactUs": {
4 "errors": [
5 {
6 "path": [
7 "example"
8 ],
9 "message": "example"
10 }
11 ]
12 }
13 }
14}
Contact us mutation.
Was this page helpful?
Previous

loginWithCustomerLoginJwt

Next

generateSessionSyncJwt

Built with

Arguments

reCaptchaV2ReCaptchaV2InputOptional
The reCaptchaV2 token.
inputSubmitContactUsInputRequired
The content of the contact us form.

Returns

a SubmitContactUsResult
errorslist of SubmitContactUsErrors
List of errors that occurred executing the mutation.