I am a long time web developer, but new to the HubSpot API, so forgive me if I sound a bit clueless.
Our organization sells thousands of products, training courses, event registrations, webinars and other things. We would like to send purchases of these things to HubSpot so we can create lists on the fly for our users who have purchased one of these things or a combination of these things, but I am unsure of the best way to do this in HubSpot.
My guess is that the best way to do this is to use the API to send the purchase information, including the product type, product ID and product name to HubSpot once the purchase is confirmed, but I am unsure what elements of the API should be used to best accomplish our goals.
Obviously we want to avoid anything that requires us to manually enter products into HubSpot, since we have so many products and the product list is constantly changing.
Any help is greatly appreciated.