Skip to main content
PUT
Update subCategory
When updating a subcategory, only the fields included in the request will be modified — all others will remain unchanged.
The only required field is id, which identifies the subcategory to update.
You can update multilingual fields such as name or description, or change metadata like isPrivate and thumbnail.

Example Request

Authorizations

x-api-key
string
header
required

Body

application/json
id
string
required
Pattern: ^[a-fA-F0-9]{24}$
Example:

"{{objectId}}"

name
object
slug
string
categoryId
string
Pattern: ^[a-fA-F0-9]{24}$
description
object
icon
string<uri>
banner
string<uri>
order
integer
Required range: x >= 0
isActive
boolean

Response

Updated

success
boolean
required
statusCode
integer
required
message
string
required
data
object
required