Hi, @PEscrieut👋 Thanks for reaching out! Hey @Jake_Lett, do you have any tips you can share with @PEscrieut? Thank you! — Jaycee
HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates. Learn More.
Did you know that the Community is available in other languages? Join regional conversations by changing your language settings !
Sep 29, 20228:48 AM - edited Sep 29, 20228:49 AM
HubSpot Employee
Issues quote and custom quote template
I was able to create a quote with the API in Postman and then create 2 line items and associate those line items to the quote and then view the quote in HubSpot. So I think functionally the APIs are fine. I even tried adding with product ids and it worked fine as well.
My first debugging step would be to output the results of the API calls. Something like this:
I would want to ensure that the response to those API calls were indeed successfull and what I thought it was. If both return 2xx status codes then we'll have to dig further.
I don't use the SDK much but I thought you had to use a nested property to get the response data.
So instead of createLineItemsResponse2.id, don't you have to do createLineItemsResponse2.body.id or something like that? Outputting the result of those calls should surface if you are referencing the correct properties or not.