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>"
}
}
}
Â