cancel
Showing results for 
Search instead for 
Did you mean: 

Magento2 using graphql filter products that have special price in it

Magento2 using graphql filter products that have special price in it

Magento2 How to filter products that have special price using GraphQL?

I want to get the collection of products in Response of product query in GraphQL that have special price.

How can I achieve this?

1 REPLY 1

Re: Magento2 using graphql filter products that have special price in it

You can use:

query getProductDetailForProductPage{
product(id: 4580) {
item {
id
name
sku
special_price
special_from_date
special_to_date
}
}
}
If issue solved, Click Kudos & Accept as Solution.
LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool