Create Folder
POST
Create an owner-scoped folder, optionally under an owned parent folder.
HTTPBearerheader
AuthorizationBearer <token>application/json- body
name*NameLength
1 <= length <= 255parent_id?|nullposition?PositionRange
0 <= valueDefault
0Successful Response
application/json- response
id*IdFormat
uuidname*Nameparent_id*|nullposition*Positionpinned*Pinnedproduct_count*Product Countcreated_at*Created AtFormat
date-timeupdated_at*Updated AtFormat
date-timemonday_sync?|nullchildren?array<>curl -X POST 'https://app.copyhero.app/api/v1/product-library/folders' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "position": 0, "pinned": true, "product_count": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "monday_sync": { "role": "string", "state": "string", "binding_id": "5d504e2c-6584-4e34-8583-0863b8c4c0c1", "group_projection_id": "c8e328c6-53c7-4f01-b456-b0a761672906", "can_detach_orphan": false }, "children": [ {} ]}