# Create Custom Property for Line Items

**URL:** <https://community.hubspot.com/t/create-custom-property-for-line-items/39810>\
**Category:** CRM\
**Tags:** workaround, developer, admin, object, enterprise\
**Created:** [June 29, 2021, 3:23pm UTC](https://community.hubspot.com/t/create-custom-property-for-line-items/39810 "2021-06-29T15:23:30Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![PedroLima](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pedrolima/32/87271_2.png) [@PedroLima](https://community.hubspot.com/u/PedroLima)\
**Post date:** [June 29, 2021, 3:23pm UTC](https://community.hubspot.com/t/create-custom-property-for-line-items/39810/1 "2021-06-29T15:23:30Z")

</div>

Hi,  
I would like to know if it is possible to create custom fields for line items?  
From a data model perspective, line item is a completely different object from products, therefore their fields should - most cases, have no dependencies. (please confirm).  
With that being said, I was expecting to be able to create custom properties as well as edit them on the line item. Just like any other object. But Apparently, this is not a functionality in Hubspot. (please confirm)  
Kind regards,  
Pedro

---

<div class="post-metadata">

**Author:** ![Josh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/josh/32/17115_2.png) [@Josh](https://community.hubspot.com/u/Josh)\
**Post date:** [June 29, 2021, 3:59pm UTC](https://community.hubspot.com/t/create-custom-property-for-line-items/39810/2 "2021-06-29T15:59:54Z")

</div>

Hi @PedroLima,

[This is going to be the best resource for you](https://developers.hubspot.com/docs/api/crm/line-items). Following the steps for custom properties via the object properties endpoints should do the trick.

Josh

---

<div class="post-metadata">

**Author:** ![PedroLima](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pedrolima/32/87271_2.png) [@PedroLima](https://community.hubspot.com/u/PedroLima)\
**Post date:** [June 29, 2021, 4:11pm UTC](https://community.hubspot.com/t/create-custom-property-for-line-items/39810/3 "2021-06-29T16:11:03Z")

</div>

Hi @Josh ,  
Thanks for the link.  
But I am afraid, that did not answer my question. I know how to create custom properties. I am just trying to find out how to create custom properties specificaly for Product Line Item.  
I understandn this:  
“Line items, along with companies, contacts, deals, tickets, products, and quotes, are objects in the HubSpot CRM.”  
“Line items can only be associated with deals, and these associations are managed through the CRM associations endpoints.”  
“You can create line items that are unique to an individual quote, but they will not be added to your product library…”  
Many Thanks,  
Pedro

---

<div class="post-metadata">

**Author:** ![CPonceKreiter](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cponcekreiter/32/77566_2.png) [@CPonceKreiter](https://community.hubspot.com/u/CPonceKreiter)\
**Post date:** [December 21, 2022, 2:58pm UTC](https://community.hubspot.com/t/create-custom-property-for-line-items/39810/4 "2022-12-21T14:58:10Z")

</div>

Hi @PedroLima

I don’t know if it’s too late, but you can create custom properties for Line Items object via the Hubspot API ( [https://developers.hubspot.com/docs/api/crm/properties ).](https://developers.hubspot.com/docs/api/crm/properties)

POST /crm/v3/properties/line\_item

Body Example:

{

“fieldType”: “text”,

“groupName”: “price”,

“label”: “Custom Format Amount”,

“name”: “custom\_format\_amount”,

“type”: “string”,

“description”: “Subtotal del producto en formato custom”,

“options”: [],

“displayOrder”: -1,

“hasUniqueValue”: false,

“hidden”: false

}

I didn’t find a way to create them via the Hubspot Website.

---

<div class="post-metadata">

**Author:** ![Josh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/josh/32/17115_2.png) [@Josh](https://community.hubspot.com/u/Josh)\
**Post date:** [June 29, 2021, 5:16pm UTC](https://community.hubspot.com/t/create-custom-property-for-line-items/39810/5 "2021-06-29T17:16:11Z")

</div>

@PedroLima,

Can you give me an example of a custom line item property you are hoping to create?

---

<div class="post-metadata">

**Author:** ![PedroLima](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pedrolima/32/87271_2.png) [@PedroLima](https://community.hubspot.com/u/PedroLima)\
**Post date:** [July 13, 2021, 3:28pm UTC](https://community.hubspot.com/t/create-custom-property-for-line-items/39810/6 "2021-07-13T15:28:13Z")

</div>

Line items should have the capability of store promo code applied. So, a deal that has two line (item1 and Item2) items for example and item1 has one code and item2 has a different code.

---

<div class="post-metadata">

**Author:** ![CBirkett1](https://avatars.discourse-cdn.com/v4/letter/c/f6c823/32.png) [@CBirkett1](https://community.hubspot.com/u/CBirkett1)\
**Post date:** [July 22, 2024, 2:17pm UTC](https://community.hubspot.com/t/create-custom-property-for-line-items/39810/7 "2024-07-22T14:17:55Z")

</div>

Hi Josh,  
I have an example of this. Line items should have unit cost **and** net cost. This way I can roll the total deal cost up as a deal property

---

<div class="post-metadata">

**Author:** ![JGonzalezMore\_1](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@JGonzalezMore\_1](https://community.hubspot.com/u/JGonzalezMore_1)\
**Post date:** [October 14, 2022, 10:49am UTC](https://community.hubspot.com/t/create-custom-property-for-line-items/39810/8 "2022-10-14T10:49:23Z")

</div>

Total abandonment of user support.  
They don’t respond, they just send links because they don’t have a clue.

---

<div class="post-metadata">

**Author:** ![kvlschaefer](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kvlschaefer/32/71076_2.png) [@kvlschaefer](https://community.hubspot.com/u/kvlschaefer)\
**Post date:** [October 14, 2022, 12:45pm UTC](https://community.hubspot.com/t/create-custom-property-for-line-items/39810/9 "2022-10-14T12:45:29Z")

</div>

Hi @JGonzalezMore,

I apologize for any frustration this may have caused.

If you have any technical issues we’d invite you to reach out to [Technical Support](https://help.hubspot.com/) and your Customer Success Manager.

If you have a question regarding a product or best practices, I would encourage you to create a new post on the Community to ensure it gets visibility among our external and internal community contributors.

The purpose of this community is for users to help each other and for members to self-serve by sharing documentation that is relevant to a community member’s question.

Thank you,

Kristen

---

<div class="post-metadata">

**Author:** ![Sebasluke](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sebasluke/32/29572_2.png) [@Sebasluke](https://community.hubspot.com/u/Sebasluke)\
**Post date:** [June 19, 2023, 7:23pm UTC](https://community.hubspot.com/t/create-custom-property-for-line-items/39810/10 "2023-06-19T19:23:55Z")

</div>

A useless reply.

---

<div class="post-metadata">

**Author:** ![FindingSerenity](https://avatars.discourse-cdn.com/v4/letter/f/e9c0ed/32.png) [@FindingSerenity](https://community.hubspot.com/u/FindingSerenity)\
**Post date:** [November 3, 2023, 12:57am UTC](https://community.hubspot.com/t/create-custom-property-for-line-items/39810/11 "2023-11-03T00:57:25Z")

</div>

You can create the custom properties (and groups to hold them) with the “Products” object and those properties will appear in the ‘create custom line item’ form. Unfortunatly, modifying the order in which the fall in that form is not possible.  
Custom Groups in Product Object:

 ![FindingSerenity_0-1698972765596.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/7/d71340962e7c63675353b5c0cf38c87bf18e1f7b.png)

Grouped Custom Properties in Product Object:

 ![FindingSerenity_1-1698972890289.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/6/60f77cdab59eae8e45167404abaab9aa3bc6a3d0.png)

Now the new properties are included in the custom line item form:

 ![FindingSerenity_2-1698973024647.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/f/f4685b0e3fbcc41d5e2a5768285daee6a551e3de.png)
