CopyHero

Add Folder Products

POST
/api/v1/product-library/folders/{folder_id}/products

Add owned products to a folder; a product already in it is a no-op.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

folder_id*Folder Id
Formatuuid

Request Body

application/json
  1. body
product_ids*array<>
Items1 <= items <= 30000

Response Body

Successful Response

application/json
  1. response
folder_id*Folder Id
Formatuuid
added_product_ids*array<>

Distinct products that gained a new membership; products that were already members are omitted.

Example Request
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"  ]}