To me that looks like a burn like he was laying on too hot of UTH or on/against a heat rock. I'm in no way sticking up for box pet stores but I bought my little pied girl from a PetSmart by me and she was fine. She was scared and hadn't eaten for almost 3 weeks but other than that, looked fine. She was checked out by a well known reptile vet in my area so I was confident in her. She started pounding rats 2 days after I got her home and now just over a year later, she is a terror and destroys her cage and loves to explore. But anyways, it is probably different for each PetSmart but the local one here keeps their reptiles clean and stuff. The only downside is they usually keep them too cool.
So like Deborah said, if you bought the snake like that, take it back for a refund and do more research on what a pied should look like as well as symptoms of illnesses. And if you did it, then get a good quality t-stat and find a good reptile vet. Good luck.