I’m trying to get the orders with email attribute not null.
I tried with this query but I always get an empty result set:
{
orders(first: 180, query: "email:*") {
edges {
node {
id
name
email
shippingLines (first:10) {
edges {
node {
code
}
}
}
}
}
}
}
If I remove the “query” filter I get several results.
I tried with different API versions until 2024-04 but the behaviour is always the same.