💬 RevOps Discussions

ASinghal8
Member

Product Object

SOLVE

I want to understand if I can change the Unit Price Field and Quantity field ? I am dealing with Hourly pricing, these are mostly services but not the actual product. I want it to function differently when selecting line items from the product library. I also have an variable in pricing, for some criteria, and may be field dependency. 
Can I play around in Product Object to use it how I want?

 

0 Upvotes
1 Accepted solution
RubenBurdin
Solution
Top Contributor

Product Object

SOLVE

Hello, @ASinghal8 

“Unit price” and “Quantity” are locked default number properties on both Product and Line Item objects—you can edit their values record‑by‑record in the line‑item editor or via API, but you can’t convert them into formulas, add dependencies, or change their data type.

2. For hourly services, store your hourly rate in Unit price and treat Quantity as billable hours; HubSpot now supports up to six decimal places in the price field, so fractional hours work too HubSpot Developers

 

3. If the rate should vary (e.g., senior vs. junior consultant), add custom line‑item properties to capture the criteria, then use a workflow (Sales Hub Pro/Ops Hub) or a private‑app script that listens for line_item.created/updated and PATCHes the price or discount via /crm/v3/objects/line_items—HubSpot will recalculate the totals automatically HubSpot Developers

4. Field‑dependency features exist only for contact/company forms, so you can’t create “if X then change Unit price” logic inside the Product object itself; the closest native option is Price Books in Sales Hub Enterprise, which let you store alternate price points under separate SKUs, but it still requires the user to pick the right price manually.

 

Hope it helps.

RubenB_2-1746202375046.png

Ruben Burdin 

Real-Time Data Sync Between any CRM or Database | Founder @Stacksync (YC W24)

Did my answer help? Please mark it as a solution to help others find it too.

Ruben Burdin Ruben Burdin
HubSpot Advisor
Founder @ Stacksync
Real-Time Data Sync between any CRM and Database
Stacksync Banner

View solution in original post

0 Upvotes
1 Reply 1
RubenBurdin
Solution
Top Contributor

Product Object

SOLVE

Hello, @ASinghal8 

“Unit price” and “Quantity” are locked default number properties on both Product and Line Item objects—you can edit their values record‑by‑record in the line‑item editor or via API, but you can’t convert them into formulas, add dependencies, or change their data type.

2. For hourly services, store your hourly rate in Unit price and treat Quantity as billable hours; HubSpot now supports up to six decimal places in the price field, so fractional hours work too HubSpot Developers

 

3. If the rate should vary (e.g., senior vs. junior consultant), add custom line‑item properties to capture the criteria, then use a workflow (Sales Hub Pro/Ops Hub) or a private‑app script that listens for line_item.created/updated and PATCHes the price or discount via /crm/v3/objects/line_items—HubSpot will recalculate the totals automatically HubSpot Developers

4. Field‑dependency features exist only for contact/company forms, so you can’t create “if X then change Unit price” logic inside the Product object itself; the closest native option is Price Books in Sales Hub Enterprise, which let you store alternate price points under separate SKUs, but it still requires the user to pick the right price manually.

 

Hope it helps.

RubenB_2-1746202375046.png

Ruben Burdin 

Real-Time Data Sync Between any CRM or Database | Founder @Stacksync (YC W24)

Did my answer help? Please mark it as a solution to help others find it too.

Ruben Burdin Ruben Burdin
HubSpot Advisor
Founder @ Stacksync
Real-Time Data Sync between any CRM and Database
Stacksync Banner
0 Upvotes