Creates a category.
Operation description
You can create at most three levels of categories. Each category level can contain a maximum of 100 subcategories.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| CateName | string | Yes | The category name.
| |
| ParentId | long | No | The ID of the parent category. | 5 |
| Type | string | No | The type of the category. Valid values:
| default |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "****63E8B7C7-4812-46AD-0FA56029AC86****",
"Category": {
"Type": "default",
"ParentId": -1,
"CateName": "",
"CateId": 45,
"Level": 0
}
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
No change history
