A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hii all,
Is there any way to query products via graphql with following statements
Product title is not equal to Test Title
or
Product title does not contain Test Title
Solved! Go to the solution
This is an accepted solution.
Hey @pawanthalia
It's possible to query the GraphQL Admin API via Product Title is not equal to using the following NOT operator taken from our Search Syntax.
{
products(first: 100, query: "-title:'Test Title'") {
edges {
node {
id
title
}
}
}
}
For more information check out the (documentation here).
This is an accepted solution.
Hey @pawanthalia
It's possible to query the GraphQL Admin API via Product Title is not equal to using the following NOT operator taken from our Search Syntax.
{
products(first: 100, query: "-title:'Test Title'") {
edges {
node {
id
title
}
}
}
}
For more information check out the (documentation here).
so helpful thank you so much