Add Folder Products
POST
Add owned products to a folder; a product already in it is a no-op.
HTTPBearerheader
AuthorizationBearer <token>folder_id*Folder IdFormat
uuidapplication/json- body
product_ids*array<>Items
1 <= items <= 30000Successful Response
application/json- response
folder_id*Folder IdFormat
uuidadded_product_ids*array<>Distinct products that gained a new membership; products that were already members are omitted.
curl -X POST 'https://app.copyhero.app/api/v1/product-library/folders/497f6eca-6276-4993-bfeb-53cbbbba6f08/products' \ -H 'Content-Type: application/json' \ -d '{ "product_ids": [ "026d7765-cea5-4b36-a2c4-f616e464c692" ]}'Example Response
{ "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "added_product_ids": [ "513e9794-7585-465b-b21f-ddc2abd2e953" ]}