APIs & Integrations

Sam_Alford
Member | Diamond Partner
Member | Diamond Partner

Discount on products/line items

I'm getting line items in a deal and have been able to include &properties=parameter. I can obtain the dollar value of a discount by grabbing the &properties=discount parameter, however if the user selects a % instead of a dollar amount the value comes through as "". Is there a different parameter I should be requesting for % discount rather than dollar amount?

Thanks in advance.

0 Upvotes
3 Replies 3
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Discount on products/line items

Hi @SAlford,

The property you're looking for is called hs_discount_percentage; you can find it using the CRM Object Properties API:

Sam_Alford
Member | Diamond Partner
Member | Diamond Partner

Discount on products/line items

Thanks Derek!

I didn't realise I could get all the object properties in that way - thanks for the tip!

Cheers,

Sam

Sam_Alford
Member | Diamond Partner
Member | Diamond Partner

Discount on products/line items

@Derek_Gervais are you able to assist with this please?
Thanks,
Samantha

0 Upvotes