Based on visibility,filter the product in magento 2.
The SKU 111324 having the visibility value is “Search”.
Using below graphQL query
Query
query {
products(
filter: {
sku: { eq: "111324" }
}
) {
items {
id
sku
name
visibility
}
}
}
Response
Got empty results
But If I changed the visibility to Catalog&Search, I got the product response,
Can anyone please explain