Update category
Leaving out a property will ensure no changes are made to that property.
Collection properties will delete and/or add as necessary to match the supplied data.
Path Parameters |
---|
id int32 — REQUIREDThe id of the category to update. |
Request Body — REQUIRED The category data to update. | ||
---|---|---|
ParentCategoryId int32The id of the parent category for the category. | ||
Names object[]The localizable names of the category.
| ||
Descriptions object[]The localized descriptions of the category.
| ||
Hidden booleanIndicates if the category should be hidden from menus, filters etc. | ||
Active booleanTrue if the category is active for use. |
Responses | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 The updated category.
| |||||||||||||||
400 Bad request.
|