Update Folder
PATCH
Rename, move, reorder or pin a folder; only the fields sent change.
HTTPBearerheader
AuthorizationBearer <token>folder_id*Folder IdFormat
uuidapplication/json- body
name?|nullparent_id?|nullposition?|nullpinned?boolean|nullSuccessful 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 PATCH 'https://app.copyhero.app/api/v1/product-library/folders/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'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": [ {} ]}