NRIs can buy a property in India, and it's totally legal, but 12.5% TDS applies in that situation. Get a TAN (Tax Deduction Account Number), which is mandatory. You can apply for TAN online through the NSDL website (Form 49B). All these procedures will take around 7-15 working days.
For any online business, a GST number is mandatory regardless of your turnover. If you have a GST number, then you can easily trade across states, enhance business credibility and compliance, and claim input tax credit on purchases.