It´s possible to relate a product to a Deal?

jsedano
Member

It´s possible to relate a product to a Deal in the Deal creation process (Create a Deal API)?

0 Upvotes
1 Reply 1
WendyGoh
HubSpot Employee

Hi @jsedano,

 

Currently it is not possible to associate product directly to a deal when using the Create a Deal | Deals API.

 

When looking to associate a product with a deal, you'll have to:

1. Create a line itemusing this endpoint: Create a line item; where the line item contain the product id (which represent the product sold).

2. Next, use the Associate CRM objects endpoint to associate the line item with the deal (the definition Id is either 19: deal to line item or 20: line item to deal).

 

0 Upvotes