Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scandipwa/contact-graphql
Contact Us page GraphQL endpoints
https://github.com/scandipwa/contact-graphql
Last synced: 14 days 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 (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-02T18:23:49.000Z (about 3 years ago)
- Last Synced: 2024-10-06T18:47:48.517Z (about 1 month ago)
- Language: PHP
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- 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"
}
}
```