Offline to online gameplay

I’m just wondering if you purchase the game and start it up and don’t have Xbox live but accomplish stuff (like buying cars etc.) and then you get xbox live again will your vehicles and stats carry over from offline mode to online? This has me very curious because some games you have to start over and I’m hoping that isn’t the case with this one. Any help is appreciated! Thank you.