cancel
Showing results for 
Search instead for 
Did you mean: 

Applying In-Stock & Out-of-Stock Filter in GraphQL

Applying In-Stock & Out-of-Stock Filter in GraphQL

Hello Team,

I am working on a project built in Magento 2.4.7-p2. As per client requirements, I need to implement an in-stock and out-of-stock product filter in GraphQL. This filter should be included in the aggregation section, allowing backend management for label customization and position-based sorting.

How can I achieve this? 

Any guidance on implementing this would be greatly appreciated.

Thanks!