shopifySQLRequest

shopifySQLRequest ( string graphQLrequest ) : string

Send a request to the Shopify database using GraphQL

Example

print(shopifySQLRequest("""mutation {
productCreate(input: {title: "My Test product", productType: "Snowboard", vendor: "idIATech"}) {
product {
id
}
}
}"""))


Install Grimport on shopify

1) Install GraphQL in the Shopify store
2) Add a private app named Grimport for example and set pertinent autorizations
3) Add a new interfaced site in Grimport, select Shopify, enter login and passwords of the private app and this connexion link:
https://IDENTIFIER.myshopify.com/admin/api/2021-01/graphql.json
Note you need to change IDENTIFIER and maybe the GraphQL version (2021-01)

Parameters