I went to the local shop to get some milk but they'd sold out.

The above sentence is an example under the entry "sell out" in Cambridge International Dictionary of Phrasal Verbs.
What does they refer to?
Thank you very much for your reply.