categories

Store a new category

Creates a new category. The data required can be submitted as a JSON body or as a list of parameters.

post/v1/categories

Headers

X-Trace-Idstring uuid
Example:40c71bbb-c676-4f24-83cf-cc725d7d7a00

Unique identifier associated with this request.

Request body

namestring string required
notesstring string nullable

Example request

{
  "name": "Lunch",
  "notes": "Some example notes"
}

Response

New category stored, result in response.

Changes