public function getProducts(array $options = [])
    {
        return $this->dataStore->getResource(
            CodesWholesale::API_VERSION_V2 . '/products',
            CodesWholesale::PRODUCT_LIST,
            $options
        );
    }
public function getProducts(array $options = [])
    {
        return $this->dataStore->getResource(
            CodesWholesale::API_VERSION_V2 . '/products',
            CodesWholesale::PRODUCT_LIST,
            $options
        );
    }
public function getProducts ( array $ options = [ ] ) { return $ this -> dataStore -> getResource ( CodesWholesale :: API_VERSION_V2 . '/products' , CodesWholesale :: PRODUCT_LIST , $ options ) ; }
You can filter products by using below query params as array value

1. ["inStockDaysAgo" => "60"] - any value from 1 - 60
2. ["filter" => "filter"] - you can fetch filters by using methods:
a) getLanguages()
b) getRegions()
c) getPlatforms()

@param array $options
@return ProductList|object
@throws \Exception
You can filter products by using below query params as array value