This module provides GraphQL endpoints for Magento_Contact module.
This endpoint allows getting whether Contact Us is enabled.
query GetContactPageConfig {
contactPageConfig {
enabled
}
}
{
"contactPageConfig": {
"enabled": true
}
}
This endpoint allows sending mail message from customer
mutation ContactForm(contact: ContactForm!) {
contactForm(contact: ContactForm!) {
message: String
}
}
{
"contactForm": {
"message": "success"
}
}