Skip to main content
POST

Authorizations

Authorization
string
header
required

Paste the JWT access token returned by the corresponding login endpoint.

Body

application/json

Sample request body. Source-defined in AddCategoryRequest / CategoryController.

name
string
image
string
parentInt
integer
sortOrder
integer
status
integer
categorySlug
string
categoryDescription
string

Response

Successful response. Exact API comment example.

status
integer
message
string
data
object