Create category
POST
/categories
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/categories' \
--header 'X-Identifier: {{x_identifier}}' \
--header 'Authorization: Bearer {{token}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"description": "string",
"meta_title": "string",
"meta_description": "string",
"slug": "string",
"active": true,
"show_in_menu": true,
"parent_id": 0,
"image_url": "string"
}'
Response Response Example
{}
Request
Header Params
X-Identifier
string
optional
Example:
{{x_identifier}}
Authorization
string
optional
Example:
Bearer {{token}}
Accept
string
optional
Example:
application/json
Content-Type
string
optional
Example:
application/json
Body Params application/json
Responses
Modified at 2024-10-15 08:13:16