The Good Bargain was collected and written down by the Brothers Grimm in their book, Grimm's Fairy Tales, in 1819. This story is not included in the first edition (1812). The story was told long before it was written down.