is there legally a time limit on a pick up of a car sold online??

This it’s called a Garagemans lien. I’d talk to a lawyer though so you go about it properly. There’s a bunch of documentation that’s needed.