The first occurrence of shellacking in the sense of "beating" that an Elephind search returns is from "Greb's Slam-Banging," in the [Sydney, New South Wales] Referee (March 3, 1926): The king of the middleweights [Harry Greb] has lots of fancy punches, some allowable in fair rules, and some not. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.