Create category
Create category
| Request Body — REQUIRED The category to create. | |||||||||
|---|---|---|---|---|---|---|---|---|---|
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 created category.
| ||||||||||||||||||||||||||||
400Bad request.
|