Hi everyone,
I’m trying to develop an app with Shopify remix framework.
I have a graphql query to get all orders from the admin like below
const response = await admin.graphql(
`#graphql
query {
orders(first: 10) {
edges {
node {
id
}
}
}
}`,
);
const data = await response.json();
return data;
But it always return 1 order only.
But if I try to test this query with Shopify GraphiQL App it return a list of order.
is there any way to detect the issue?
Many thanks,