curl --request POST \
--url https://api.example.com/admin/category/replace-and-delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"categoryID": 123,
"replacementCategoryID": 123
}
'{
"success": true,
"data": "<unknown>"
}Deletes and replaces a category with another one.
curl --request POST \
--url https://api.example.com/admin/category/replace-and-delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"categoryID": 123,
"replacementCategoryID": 123
}
'{
"success": true,
"data": "<unknown>"
}