filter WC API response