The AI Agent thingy gave me this query after i ask for retrieving customers created after a given date.
{
customers(first: 100, query: “created_at:>=‘2025-01-01’”) {
edges {
node {
id
email
createdAt
}
}
}
This doesn’t work, try here (https://shopify.dev/graphiql/admin-graphiql)
it returns every customer and has a warning
“warnings”: [{
“field”: “created_at”,
“message”: “Invalid search field for this query.”}]
After telling this to the AI thingy, it suggested to try with “createdAt”, which also didn’t work, and after showing it the warning message for createdAt it told me to fetch it all and do the filtering by hand, which is not what i need to do…
Does anybody knows how to get a list of customer created after a given date?