You need export license first to selling in other country. Doesn't matter you do online or not.
Without export license you can't sell gold to other country people.
My father has an export and import license in electronics equipments, can that be somehow extended to include gold as well ?
I am a bit naive in this topic.