The used ships go into the recycle bin at the moment, to construct new ship hulls
You will be able to sell fully equipped ships at SOL auction when it's available. The buyers will be able to see the ship modules and even the cargo bay. It will be like the ship auctions that where going on in England with sailing ships in the 1600's