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. Set to 0 for a root-level category. | |||||||||
Names object[]The localizable names of the category. Note that other localizable content will only be used if a name in the same language is also provided.
| |||||||||
Descriptions object[]The localized descriptions of the category. Note that only descriptions with a matching name in the same language will be used.
| |||||||||
SecondaryDescriptions object[]The localized secondary descriptions of the category. Note that only secondary descriptions with a matching name in the same language will be used.
| |||||||||
Meta objectMeta information for a category.
| |||||||||
Hidden booleanIndicates if the category should be hidden from menus, filters etc. | |||||||||
Active booleanTrue if the category is active for use. |
| Responses | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200The updated category.
| ||||||||||||||||||||||||||||
400Bad request.
|