The rhyme sometimes appears as part of a larger work called What Folks Are Made Of or What All the World Is Made Of. According to Iona and Peter Opie, this first appears in a manuscript by the English poet Robert Southey (1774–1843) - according to Wikipedia.
Either way this thing is super cute and overflowing with sweet treats, soft baby socks and so much more!