Questions tagged [graphql]
Denotes questions about Magento GraphQL.
234 questions
0 votes
1 answer
68 views
Not able to access graphql schema and resolver on localhost Xampp server
Please help me I am not able to access graphql schema and resolver from the custome module on localhost Xampp Server Here is my code /etc/graphql/schema.graphqls type Query { testHello: String @...
1 vote
1 answer
75 views
How to get product tier price using graphql magento2
I am performing a full text search to get the list of products. I need to get the tierprices of the products. But I am getting the following error. Customer with id "18" does not exist. I ...
0 votes
0 answers
47 views
GraphQL - Schema generated remove not null indication when in an array
In a custom module in etc/schema.graphqls, I declared my query : type Query { getAvailableCountries: [Country!] @resolver(class: "\\Vendor\\Module\\Model\\Resolver\\getAvailableCountries&...
0 votes
1 answer
70 views
Listing categories through GraphQL doesn't work
When I try to retrieve a list of categories with the below GraphQL query, I only get one result instead of the expected 8. All the configuration options for the categories are default. Listing ...
0 votes
1 answer
109 views
Product is visible when the visibility is set as 'catalog' while quering via graphQL in magento 2
For example, a product visibility has been saved as only "catalog", but the product still visibile while searching a product at frontend. (I have checked by searching the product with ...
0 votes
2 answers
243 views
Magento 2 : GraphQL - Generate Customer Token not working
I'm performing the below CURL request in Postman, but it's not working. curl --location 'http://gravity.freestylelibre.devops:81/graphql' \ --header 'Authorization: Bearer ...
0 votes
1 answer
169 views
Venia pwa + magento 2
Can anyone explain how security works on graphql on venia pwa? I don't see any tokens or sessions or something like this at Venia. So any developer can create a graphql query and get all data from my ...
1 vote
1 answer
492 views
How to get all the customer email using graphQl in magento2
I need all the customer email using graphQl in magento2. Who ever registered in magento those customers email addresses. I need to get from Api. Please help for this