updateCategory( )


Updates a category.

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

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?