updateCategory( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates a category.

When you update permissionsSettings, existing comments remain visible even if they don't meet the updated permissions.

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

Method Declaration
Copy
Method Parameters
_idstringRequired

Category ID.


categoryUpdateCategoryRequired
Returns
Return Type:Promise<Category>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?