Method: PATCH
URL: https://pim-client.wizart.ai/api/v2.1/brand/:brandUuid/visibility
Header: Accept: application/json, Content-Type: applicaton/json, Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG…
Body:
{
"data": {
"id": "{{BRAND_UUID}}",
"type": "brands",
"attributes": {
"is_visible": "<boolean>"
}
}
}
CURL:
curl --location --request PATCH 'https://pim-client.wizart.ai/api/v2.1/brand/:brandUuid/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>",
"order": "<string>"
}
}
}
Â