I am trying to sync external accounting purchases to create deals in Hubspot. I wish to have line items of products related to the deal in typical Hubspot fashion as if you used the Products functionality inside of a deal to associate line item product name, line item product quantities and line items product pricing which all totals a deal amount. I wish to have some custom line item properties as well that I will add. I can see in the system that Shopify is synced and doing something similar.
Line Items Overview
CRM Properties API
My question: How do I relate the Product Line Items to the Deal as well as create custom properties in Product Line items? Do I need to add custom fields to the Products JSON properties structure? Or are these added at the Line Item level where I combine Deal ID, Products, unit price, tax, etc?? This is a pressing matter and I just need a little understanding as to how this all relates and is customized.
Help is greatly appreciated! Examples of json screenshots with notes is always helpful. Any help is good help!