Sitecore OrderCloud Documentation

docs

Portal login

Create a new category.

POST

/catalogs/{catalogID}/categories

201

Description

If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned.

Setting adjustListOrders to true will increase ListOrder for all categories with the same or higher ListOrder.

Roles

At least one of the roles below is required to access this endpoint.

FullAccessCategoryAdmin

Parameters

NameTypeDescriptionPossible Values
catalogIDRequiredstringID of the catalog.---
adjustListOrdersbooleanAdjust list orders of the category.---

Request Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
NameRequiredstring---100 characters---
Descriptionstring---2000 characters---
ListOrderintegerint32------

Activeboolean---------

ParentIDstring---------

xpobject---------

Response Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
Namestring---100 characters---
Descriptionstring---2000 characters---
ListOrderintegerint32------

Activeboolean---------

ParentIDstring---------

ChildCountRead Onlyintegerint32------

xpobject---------
Sitecore Logo

© Copyright 2024, Sitecore OrderCloud®. All rights reserved.

Contact Us
Privacy Policy
Sitecore