We are exploring the GraphQL Admin API and observed that the GraphQL schema is not configured with subscriptions.
Could you please help us by enabling the subscription feature for the GraphQL API?
Error thrown from the API while using the subscriptions is as below: -
Request: -
subscription {
customerCreate {
customer {
id
firstName
lastName
email
phone
}
}
}
Response: -
{
“errors”: [
{
“message”: “Schema is not configured for subscriptions”,
“locations”: [
{
“line”: 1,
“column”: 1
}
],
“path”: [
“subscription”
],
“extensions”: {
“code”: “missingSubscriptionConfiguration”
}
}
]
}