I am working on a new project where I'd like to be able to access my product library's folders using the API. For example, I'd like to POST a new product to a specific folder within my product library, but I don't see a product property that is associated with folders nor is it a supported parameter as far as I have found. Is there a way to achieve this or is it something that is going to be supported in the near future?
After doing a little digging, I found the "hs_folder_id" property.
I ran the example json from the docs and was able to successfully create a product in that folder
Here is my code:
{
"properties": {
"hs_folder_id": "1858187",
"description": "Onboarding service for data product",
"hs_cost_of_goods_sold": "600.00",
"hs_sku": "191902",
"name": "Implementation Service ",
"price": "6000.00"
}
}
Hope this gets you somewhere!
HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates. Learn More.
After doing a little digging, I found the "hs_folder_id" property.
I ran the example json from the docs and was able to successfully create a product in that folder
Here is my code:
{
"properties": {
"hs_folder_id": "1858187",
"description": "Onboarding service for data product",
"hs_cost_of_goods_sold": "600.00",
"hs_sku": "191902",
"name": "Implementation Service ",
"price": "6000.00"
}
}
Hope this gets you somewhere!
HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates. Learn More.
Thanks for your post. Its very useful between may I Know how to create folder in product & quotes section VIA api. Because I need to create folder then create a product inside the folder . Please advice me.