Yes, whether you are selling spices online or offline you need mandatory registrations and licenses. This may include -
GST Registration
Spice Board Registration
Trade license
FSSAI Registration
MSME Registration
BIS Certification