Any shot that goes into the hole from anywhere NOT on the putting green is considered a "ferret". You will likely get this over the course of normal play through the PGA Tour or in Local/Online games.
If you want to purposely try for this, try using the Beginner or Amateur clubs and just approach every green without actually getting onto the green. Then try to chip on and into the hole in one shot.
If you manage to hole the ball from a sand trap, you'll also get this
As of August 21, 2020, there are 39 Official Courses:
To find only these courses in the game, on your Match setup screen, select Change Course, then select Official.