Hi,
When I make a graphql request, with nodejs, I have this object { maximumAvailable: 10000, currentlyAvailable: 9770, restoreRate: 500 } that shows me how many cost I have available, how many I used and how many I restore every seconds.
Now there is also a limit PER request, as I can see it’s 1000
{
message: 'Query cost is 1040, which exceeds the single query max cost limit (1000).\n' +
'\n' +
'See https://shopify.dev/concepts/about-apis/rate-limits for more information on how the\n' +
'cost of a query is calculated.\n' +
'\n' +
'To query larger amounts of data with fewer limits, bulk operations should be used instead.\n' +
'See https://shopify.dev/api/usage/bulk-operations/queries for usage details.\n',
extensions: {
code: 'MAX_COST_EXCEEDED',
cost: 1040,
maxCost: 1000,
documentation: 'https://shopify.dev/api/usage/rate-limits'
}
}
My question is simple, is there a way to increase that limit per request?
Today I make a request and wait a certain amount of time depending of currentlyAvailable and restoreRate, but I want to make bigger requests, I have 10000 cost available but I can only use 1000.
Thanks to everyone that can answer.