/
Update the collection visibility by UUID

Update the collection visibility by UUID

Method: PATCH

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

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

Body:

{ "data": { "id": "{{COLLECTION_UUID}}", "type": "collections", "attributes": { "is_visible": "<boolean>" } } }

CURL:

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

 

Related content

Mass update of collections
Mass update of collections
More like this
Update the collection by UUID
Update the collection by UUID
More like this
Update the product visibility by UUID (without shared)
Update the product visibility by UUID (without shared)
More like this
Update the brand visibility by UUID
Update the brand visibility by UUID
More like this
Delete the collection by UUID
Delete the collection by UUID
More like this