Hi,
We create a custom property for Line Item object via the API Endpoint.
How can we update for example the property name? We can’t access it in the UI.
Thanks! ![]()
Hi,
We create a custom property for Line Item object via the API Endpoint.
How can we update for example the property name? We can’t access it in the UI.
Thanks! ![]()
Hi @OBetzalel, I hope that you are well!
I understand that you created a custom line item property via API but you’d like to edit it via the UI. Please let me know if that’s not the case.
I never created myself a property via API but I know that from the UI, you are able to edit product properties.
Do you find the line item properties under the product properties, please?
I’d like to invite some of our Top Experts to this discussion: Hi @GreyHamilton, @beeginman and @OPerek-Clark are you able to edit custom line items properties from the UI directly within HubSpot, please?
Thanks a lot and have a wonderful day!
Best,
Bérangère
Hi,
Thanks for the reply, I would like to be able to edit the metadata from the UI or from the API Calls.
Thanks!
Hi @OBetzalel, I hope that you are well!
Thanks for the additional information and sorry for the late reply.
I’d like to invite a couple of subject matter experts to this conversation: Hi @zach_threadint, @stefen and @alyssamwilie do you have suggestions to help @OBetzalel, please?
Also, if anybody else has anything to add and/or share, please feel free to join in the conversation ![]()
Thank you very much and have a fantastic day!
Best,
Bérangère
Hi @OBetzalel ![]()
As far as I’m aware, custom Line Item properties must be managed by API -- they cannot be edited in HubSpot’s web/app UI.
It’s worth noting that once a custom property is created, it’s internal “name” (i.e. the property name you reference in API calls) cannot be changed. However, you can update other property attributes/metadata via API (e.g. label). In order to do this, you’ll want to call the “Update a property” endpoint, available within the “Endpoints” tab on the HubSpot Properties API page. For example:
PATCH https://api.hubapi.com/crm/v3/properties/LINE_ITEM/example_custom_property
Request JSON body
{
"groupName": "lineiteminformation",
"label": "Example Property -- Updated Label",
"type": "string",
"fieldType": "text",
"formField": true,
"hasUniqueValue": false,
"hidden": false
}
I hope this proves helpful. Please let me know if you have any follow-up questions.