curl --request POST \
--url https://api.example.com/category/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"categoryText": "<string>",
"languageID": 123,
"parentCategoryId": 123
}
'{
"success": true,
"data": "<unknown>"
}Adds a new category. You must specify the parent category id if it’s a child. Otherwise it’ll be created as a parent category. Returns the id of the newly created record
curl --request POST \
--url https://api.example.com/category/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"categoryText": "<string>",
"languageID": 123,
"parentCategoryId": 123
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.