PATCH

Update Category Visibility


Updates category visibility.

Setting visibility to false hides the category from site visitors. This also cascades to all subcategories. Hidden categories and their items remain accessible via API.

Each time a category is updated, revision increments by 1. The current revision must be passed when updating a category. This ensures you're working with the latest category and prevents unintended overwrites.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Category write
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/categories/v1/categories/visibility

Errors
428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?