REST API

Verticals API

Industry preset and category schema API for configuring Celerp ERP fields and defaults by business vertical.

Generated from the Celerp 2.5.0 OpenAPI schema, 21 September 2026.

POST /companies/me/apply-category

Apply Category Schema

Apply an industry category's item fields to the company.

Parameters

NameInRequiredTypeDescription
namequeryyesstringName or slug identifying the requested category or preset.

Responses

StatusDescriptionBody
200Returns the applied category key and its display name.object
422The request failed validation. The response lists each invalid field and why.HTTPValidationError

Example

curl -X POST http://localhost:8000/companies/me/apply-category \
  -H "Authorization: Bearer $TOKEN"

POST /companies/me/apply-preset

Apply Industry Preset

Apply an industry preset, which sets up item categories, modules and company settings for that industry.

Parameters

NameInRequiredTypeDescription
verticalqueryyesstringBusiness vertical or industry preset to apply.

Responses

StatusDescriptionBody
200Returns the applied preset with the categories, modules and company settings it set up.object
422The request failed validation. The response lists each invalid field and why.HTTPValidationError

Example

curl -X POST http://localhost:8000/companies/me/apply-preset \
  -H "Authorization: Bearer $TOKEN"

GET /companies/verticals/categories

List Industry Categories

Return the available industry categories.

Responses

StatusDescriptionBody
200Returns the requested industry categories.array of object

Example

curl -X GET http://localhost:8000/companies/verticals/categories \
  -H "Authorization: Bearer $TOKEN"

GET /companies/verticals/categories/{name}

Get Industry Category

Return industry category.

Parameters

NameInRequiredTypeDescription
namepathyesstringName or slug identifying the requested category or preset.

Responses

StatusDescriptionBody
200Returns the requested industry category result.object
422The request failed validation. The response lists each invalid field and why.HTTPValidationError

Example

curl -X GET http://localhost:8000/companies/verticals/categories/:name \
  -H "Authorization: Bearer $TOKEN"

GET /companies/verticals/presets

List Industry Presets

Return the available industry presets.

Responses

StatusDescriptionBody
200Returns the requested industry presets.array of object

Example

curl -X GET http://localhost:8000/companies/verticals/presets \
  -H "Authorization: Bearer $TOKEN"