0

I am trying to retrieve all products holding a special price value.

{
  products(filter: {
      
        special_price: { from: "0.00" ,to:"10.00"}
    }, 
    sort: {
        name: ASC
    }) {
    items {
      name
      sku
      sale
      special_price
      special_from_date
      special_to_date
      price_range {
        minimum_price {
          regular_price {
            value
            currency
          }
          final_price {
            value
            currency
          }
          discount {
            amount_off
            percent_off
          }
        }
      }
    }
  }
}

Above is the example query which is trying to run. But it always returns a null result. Does anyone know why it's returning null?

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.