Function: category.Update
Updates a Category with data from the provided Object.
Syntax
{
"method": "category.Update",
"params": {
"object": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<bool> Update( Category object );public Task<bool> UpdateAsync(Category @object, CancellationToken ct = default);update(object: Category): Promise<boolean>;Parameters
object : Category
Category to update
Result : bool
True if successful.
Remarks
This method requires API write access.
Validation
- Id must be set and a category with that id must exist before calling this function
- Code must be a non-empty, unique string consisting of alphanumerical characters. Additional allowed characters: _, -, /, :, #
- Order must be a non-empty, valid sorting string, i.e. consist of all upper-case letters and not end with ‘A’