Relative Content

Tag Archive for javascriptnode.jsrestgraphqlshopify

How do I get metaobject data using the shopify admin graphql api?

I am creating a student portal for the students who pay for a monthly subscription through shopify as a react vite app. I have metaobjects for lessons, assignments and assessments, whose information will be shown in a calendar in the portal using react big calendar. I was able to get data about my products using the admin rest api and it was shown in json format at http://localhost:5000/api/products. However, when I tried to do the same using graphql this time, it gave me this error in the terminal: