Skip to content

Update a category

PUT
/api/content/management/categories/{id}
curl --request PUT \
--url https://example.com/api/content/management/categories/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "Electronics", "description": "example", "parentId": "example", "customProperties": [ { "name": "example", "value": "example" } ] }'

Updates an existing category

id
required

Category ID

string
Media typeapplication/json
object
name

Category name

string
Example
Electronics
description

Category description

string
parentId

Parent category ID (for nested categories)

string | null
customProperties

Custom properties

Array<object>
object
name
required
string
value

Category updated successfully

Media typeapplication/json
object
id
required
string
Examplegenerated
{
"id": "example"
}

Invalid request