Hello,
I deep dive alone the issue.
If I’m linking only ONE line_tiem to the quote, the rendering is fine ! But if I’m adding 2 or more line_items it failed…
I tried also with the nodejs “sdk”
const productObject = {
properties: {
“hs_product_id”: 89293927,
“quantity”: 1,
}
}
const createLineItemsResponse = await hubspotClient.crm.lineItems.basicApi.create(productObject)
await hubspotClient.crm.lineItems.associationsApi.create(
createLineItemsResponse.id,
‘quote’,
createQuotesResponse.id,
‘line_item_to_quote’
);
productObject.properties.hs_product_id=9253938;
const createLineItemsResponse2 = await hubspotClient.crm.lineItems.basicApi.create(productObject)
await hubspotClient.crm.lineItems.associationsApi.create(
createLineItemsResponse2.id,
‘quote’,
createQuotesResponse.id,
‘line_item_to_quote’
);
productObject.properties.hs_product_id=96805;
const createLineItemsResponse3 = await hubspotClient.crm.lineItems.basicApi.create(productObject)
await hubspotClient.crm.lineItems.associationsApi.create(
createLineItemsResponse3.id,
‘quote’,
createQuotesResponse.id,
‘line_item_to_quote’
);
One line_item it is ok, 2 or more it failled. I can create multiple item without link it is fine.
As “Pro” paid solution, is it possible to have an answer ?
Thanks