Skip to main content

Create category

Create category

Request Body REQUIRED

The category to create.

ParentCategoryId int32

The id of the parent category for the category.

Names object[]

The localizable names of the category.

LanguageCode string
Content string

The localized content.

Descriptions object[]

The localized descriptions of the category.

LanguageCode string
Content string

The localized content.

Hidden boolean

Indicates if the category should be hidden from menus, filters etc.

Active boolean

True if the category is active for use.

Responses
200

The created category.

Schema OPTIONAL
Resource object OPTIONAL

An existing category.

CategoryId int32 OPTIONAL

The id of the category.

ParentCategoryId int32 OPTIONAL

The id of the parent category for the category.

Names object[] OPTIONAL

The localizable names of the category.

LanguageCode string OPTIONAL
Content string OPTIONAL

The localized content.

Descriptions object[] OPTIONAL

The localized descriptions of the category.

LanguageCode string OPTIONAL
Content string OPTIONAL

The localized content.

GoogleCategoryPath string OPTIONAL

The Google Taxonomy category path for the category, if any.

Hidden boolean OPTIONAL

Indicates if the category should be hidden from menus, filters etc.

Active boolean OPTIONAL

True if the category is active for use.

Message string OPTIONAL

A status message for the action taken.

Details string[] OPTIONAL

Any validation messages for the data on the current action.

400

Bad request.

Schema OPTIONAL
Message string OPTIONAL

A status message for the action taken.

Details string[] OPTIONAL

Any validation messages for the data on the current action.