Multiple negative GraphQL query

Robin_Chhetri
New Member
4 0 0

I have a GraphQL query like this:

 

 

 

query FirstTwentyCustomers {
    customers(first:20, query:"-tag:RET_50 AND -tag:RET_52 AND -tag:RET_55 AND -tag:EMP_30 AND -tag:CONSUMER"){
    edges{
        node{
            id
            firstName
            lastName
            email
            }
        }
    }
}

 

 

 

 

This query used to work. It would return the first 20 customers who don't have any of the tags I mentioned above. But  this query has stopped working and now returns customers with the 'CONSUMER' tag. What should I be doing?

Replies 0 (0)