Update the collection by UUID

Method: PATCH

URL: https://pim-client.wizart.ai/api/v2.1/collections/:collectionUuid/

Header: Accept: application/json, Content-Type: applicaton/json, Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG…

Body:

{ "data": { "type": "collections", "id": "{{COLLECTION_UUID}}", "attributes": { "name": "New name of Cillection", "is_visible": true, "order": -63814961.090335086 } } }

CURL:

curl --location --request PATCH 'https://pim-client.wizart.ai/api/v2.1/collections/:collectionUuid/' \ --header 'Authorization: Bearer <token>' \ --data '{ "data": { "type": "<string>", "id": "<string>", "attributes": { "name": "<string>", "is_visible": "<string>", "order": "<string>" } } }'
{ "data": { "id": "<string>", "type": "<string>", "attributes": { "name": "<string>", "image_path": "<string>", "is_visible": "<boolean>", "partially_visible": "<boolean>", "is_default_cover": "<boolean>" } } }

Â