• [Wébinaire 13 novembre 2025] Comment l’IA optimise la performance marketing in HubSpot ?

    S'inscrire

APIs & Integrations

nikan
Participant | Partenaire solutions Platinum
Participant | Partenaire solutions Platinum

POST to Product Folders

Résolue

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? 

Thanks

1 Solution acceptée
dennisedson
Solution
Gestionnaire de communauté
Gestionnaire de communauté

POST to Product Folders

Résolue

Hey @nikan 

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!

 


loop Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.
Learn More

Voir la solution dans l'envoi d'origine

4 Réponses
nikan
Participant | Partenaire solutions Platinum
Participant | Partenaire solutions Platinum

POST to Product Folders

Résolue

Small oversight on my part - that is exactly what I was looking for. Thanks, Dennis!

dennisedson
Solution
Gestionnaire de communauté
Gestionnaire de communauté

POST to Product Folders

Résolue

Hey @nikan 

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!

 


loop Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.
Learn More

sathivel
Membre

POST to Product Folders

Résolue

Hi Dennis, 

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.

Thanks

 

OBojahr
Contributeur

POST to Product Folders

Résolue

Any update on @sathivel last question?

0 Votes