What is Unit Price internal name

Hi, What is Unit Price field internal name? Where to find it in the properties? Why cant I search this property anywhere?

Hi @Xiawanbai! Thanks for your post :blush:

Are you referring to the Unit Price column in Quotes? (Knowledge Base article)

If so, the Net price property has an internal value of `amount` and the Unit price property has an internal value of `price`. FYI this is not listed in the Knowledge Base article above.

If this is not the Unit Price field you are referring to, please provide a screenshot of the field in question.

Best,
Kennedy

Hi, yes, exactly this one. Where did you find that internal value?

Great to hear @Xiawanbai!
We can leverage the Network tab to get the internal values of the properties we see in the Line item editor since the Network tab shows us API requests made and their responses. In my test, we’ll see in the line-items/v1/line-items/ request:

amount: {versions: [,…], value: "26.00", timestamp: 1633089566015, source: "CALCULATED",…} source: "CALCULATED" 
sourceId: "CalculatedPropertyComputer" 
timestamp: 1633089566015 
updatedByUserId: null value: "26.00" 

price: {versions: [,…], value: "36", timestamp: 1633089566015, source: "API", sourceId: "Public Object Api",…} 
source: "API" 
sourceId: "Public Object Api" 
timestamp: 1633089566015 
updatedByUserId: null value: "36"

Hope this helps!

Hi @kennedyp. Net price on the line item will also account for the quantity, which throws off the net-unit price of a discounted single product. For instance, if we list one line item on a quote with a unit price of $10 and a 10% discount, the net price will be $9. If we list two of those same line items, the net price will be $18.

We also can’t create calculated properties on a product (unit price x discount) to calculate the net-unit price. Can you think of a way to solve for this?

Thanks!

Hey @KQuinn89 ! Thanks for your reply here. I understand you are inquiring about how to apply discounts to one of your line items on a quote without it applying to other items, right?

Maybe some of our experts have found a workaround for this. @Jigar_Thakker, @TomM2 have either of you come across a way to accomplish this? Thanks for your help!

Best,
Kennedy

Hey @kennedyp. Not exactly - we’re trying to find out the discounted net price of one product if there are multiple products. We’re sending this information over to their ERP system, so they need net-unit price x quantity. HubSpot’s net price includes quantity in its calculation.