Sorry, I’m not familiar with gravity form plugin, but overall it should work as following:
- Build a custom plugin which retrieves vendor database values.
- Create a shortcode for plugin and integrate it into gravity form to retrieve values on the form.
- Once required information is on the form, you should be able to forward it to gravity form by standard plugins function(as I sad, not familiar with plugin) or with cookie/JS.
Hope it helps.