I think it happened in "The Last Outpost".
This. I think they represent the first sign that Roddenberry wasn't all there anymore.
Note that "The Last Outpost" was Richard Colla's only stint as a director for the Star Trek franchise.
Prior to this, the only mention of the Ferengi was in "Encounter at Farpoint", where it was suggested that they were cannibalistic.