APIs & Integrations

nikan
Participant | Platinum Partner
Participant | Platinum Partner

POST to Product Folders

SOLVE

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 Accepted solution
dennisedson
Solution
Community Manager
Community Manager

POST to Product Folders

SOLVE

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

View solution in original post

4 Replies 4
nikan
Participant | Platinum Partner
Participant | Platinum Partner

POST to Product Folders

SOLVE

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

dennisedson
Solution
Community Manager
Community Manager

POST to Product Folders

SOLVE

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
Member

POST to Product Folders

SOLVE

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
Contributor

POST to Product Folders

SOLVE

Any update on @sathivel last question?

0 Upvotes