Skip to main content
POST
Add a subcategory

Authorizations

X-API-Key
string
header
required

Path Parameters

COMPANY_ID
string
required

Company identifier

CATEGORY_ID
string
required

Parent category identifier

Body

application/json
name
string
required

Name of the category

description
string

Description of the category

image
object

Image file for the category

Response

Subcategory created successfully

id
string
required

ID of the newly created category or subcategory