skip to Main Content

Shopify graphql customerCreate

Using the storefront api with graphql-yoga server. Got the playground open to test queries and mutations. According to the documentation this should work for creating a customer mutation { customerCreate( input: { firstName: "dave", lastName: "smith", email: "[email protected]", password: "HiZqFuDvDdQ7",…

VIEW QUESTION

Shopify graphQL query

I can't see how to format this graphene query for shopify. I need to replicate this curl query with graphene in Django: curl -X POST "https://<shop>.myshopify.com/api/graphql" -H "Content-Type: application/graphql" -H "X-Shopify-Storefront-Access-Token: <storefront-access-token>" -d ' { shop { collections(first: 5) {…

VIEW QUESTION

Shopify GraphQL Get Schema from Server

I am using graphql-js-schema-fetch to fetch Shopify schema, but it throws an error and I do not know how to fix it. Using CLI: graphql-js-schema-fetch https://myspati-com.myshopify.com/api/graphql --header "Content-Type: application/graphql" --header "X-Shopify-Storefront-Access-Token: <acces-token>" This is the error: { "errors": [{ "message":…

VIEW QUESTION
Back To Top
Search