I am really new in shopify Api and Graphql.
I created an api call and it returns an error 429 Too many request, i talked to their support and said that i shouldn't put the Graphql call and API on my code.
My question is, how do i put this on my server and use it on my shopify store?
{
productVariants(first:1, query:"barcode:155799") {
edges {
node {
inventoryQuantity
legacyResourceId
barcode
price
compareAtPrice
availableForSale
}
}
}
}
These are the things i needed. on postman i tried it and works, my question, where will I put my code? Can't put it on my Theme file as not secure showing my Access Token.