Focuses on API authentication, access scopes, and permission management.
`
query ordersByQuery {
orders(first: 1, query: "(created_at:>='2023-08-27') OR (updated_at:>='2023-08-27')") {
pageInfo {
hasNextPage
}
edges {
cursor
node {
id
createdAt
updatedAt
email
totalPriceSet {
shopMoney {
amount
}
}
channelInformation {
channelDefinition {
channelName
subChannelName
}
}
refunds {
createdAt
totalRefundedSet {
shopMoney {
amount
}
}
}
}
}
}
}
`
Hi BarkAI_Andrii,
This issue might be caused by a number of factors, including rate limiting or a merchant-specific setting that's causing the query to fail. Here are some steps to troubleshoot this issue:
Check for rate limiting: Shopify GraphQL API has a rate limit of 1000 points per second, which is shared across all apps installed by a merchant. If your app exceeds this limit, then further API calls will fail until the rate limit resets. You can check the X-Shopify-Shop-Api-Call-Limit
header in the response to see your app's current call limit usage.
Check the query format: The format of your query looks correct, but it may be worth double-checking for any minor errors such as missing brackets or incorrect field names.
Test the query in the Shopify GraphiQL App: You can test your query in the Shopify GraphiQL App to see if it works there. If it does, then the issue might be with how your app is making the API call.
Try out the above and see if it resolves your issue, hope this helps,
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Thank you for such a quick response! As far as I see:
Our team would be grateful if the Shopify support team would give this issue more attention.
Thank you for your kind support!
This just kind reminder to review my previous comment 😊