(Peter). The name of a man who sold his shadow to the devil, in Chamisso's tale so called. It is a synonym for any person who makes a desperate and silly bargain.
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894
More on Schlemihl from Fact Monster: