v1
latestOpenAPI 3.0.12026-07-141671231.8 MBCategories
Update a category
This endpoint updates a category.
ℹ️ This endpoint requires the following scope: categories:all
put/api/external/v2/categories/{id}
Path parameters
idstring required
The unique identifier of the category
Request body
Example request
{
"label": "Alimentaire",
"analytical_code": "CODE123"
}Response
Returns the updated 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"
}