v1
latestOpenAPI 3.0.12026-07-141671231.8 MBCategories
Create a category
Create a category
ℹ️ This endpoint requires the following scope: categories:all
post/api/external/v2/categories
Request body
Example request
{
"label": "Loyers",
"category_group_id": 23,
"analytical_code": "CODE123"
}Response
Returns the created category
Example response
{
"id": 42,
"label": "Alimentaire",
"created_at": "2023-08-30T10:08:08.146343Z",
"updated_at": "2023-08-30T10:08:08.146343Z",
"category_group": {
"id": 348
},
"analytical_code": "CODE123"
}