How to get the value of the order the line items appear on a Hubspot deal?
10-09-2019 01:02 - edited 10-09-2019 01:56
Our customers at Paycove use Hubspot products to create invoices, quotes, and other documents. After our users add line items to a deal in Hubspot, they want the line items to appear in the same order in Paycove.
We're currently pulling in the line items for a deal using the CRM Associations endpoint (code 19). However, "display_order" of the deal is not an available field, only the "hs_quote_display_order". This is problematic because most of our customers don't create quotes on Hubspot, but use Paycove to create invoices / quotes. I've tried sorting the line items by the HS created datetime, but it appears that this does not respect the order the line items appear on the deal either.
Example: line item order in Hubspot: https://d.pr/free/i/dsBHVK
Line item order returned through CRM Assocations endpoint: https://d.pr/free/i/5kmSm5
Any suggestions on this?