POST /categories
Request properties
id
: The category identifiername
: The category name
Status codes
200
on success400
if the request is invalid
Response properties
The new categories as returned by GET /categories
.
Example request
{
"id": "1234",
"name": "Spirits"
}