curl --request POST \
--url https://api.example.com/admin/category/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"parentCategoryID": null,
"categoryName": "<string>",
"languageID": 123,
"isFeatured": true,
"editionIDs": [
123
]
}
'{
"success": true,
"data": "<unknown>"
}Add new category.
curl --request POST \
--url https://api.example.com/admin/category/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"parentCategoryID": null,
"categoryName": "<string>",
"languageID": 123,
"isFeatured": true,
"editionIDs": [
123
]
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.