Skip to main content

Create a new category

Create a new category

Request Body — REQUIRED
label string — REQUIRED
restriction string — REQUIRED

Possible values: [sale, Purchase, all]

Responses
201

Returns the created Category

Schema — OPTIONAL
id integer — OPTIONAL
name string — OPTIONAL
400

Category not valid