https://github.com/scandipwa/contact-graphql
Contact Us page GraphQL endpoints
https://github.com/scandipwa/contact-graphql
Last synced: 2 months ago
JSON representation
Contact Us page GraphQL endpoints
- Host: GitHub
- URL: https://github.com/scandipwa/contact-graphql
- Owner: scandipwa
- License: osl-3.0
- Created: 2020-11-13T13:37:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-02T18:23:49.000Z (over 3 years ago)
- Last Synced: 2025-03-23T09:47:53.064Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# ScandiPWA_ContactGraphQl
This module provides GraphQL endpoints for Magento_Contact module.
## Endpoint description
### contactPageConfig
This endpoint allows getting whether Contact Us is enabled.
```graphql
query GetContactPageConfig {
contactPageConfig {
enabled
}
}
``````json
{
"contactPageConfig": {
"enabled": true
}
}
```### contactForm
This endpoint allows sending mail message from customer
```graphql
mutation ContactForm(contact: ContactForm!) {
contactForm(contact: ContactForm!) {
message: String
}
}
``````json
{
"contactForm": {
"message": "success"
}
}
```