Company Category
Categories used to classify customers and suppliers.
Path Parameter:
:CODE (string) — the category code in the URL pathEndpoints
GET
/companycategoryList company categories with pagination and filters
GET
/companycategory/:CODEGet a single company category by code
POST
/companycategoryCreate a new company category
PUT
/companycategory/:CODEUpdate a company category by code
DELETE
/companycategory/:CODEDelete a company category by code
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
| code | string | Yes | Category code. Proven: "CC-01". |
| description | string | Yes | Category name. Proven: "Retail". |
| attachments | string | No | File attachment reference. |
| isactive | boolean | No | Active flag. Proven: true. |
Examples
POST — Create Company Category
POST /companycategory
{
"code": "CC-01",
"description": "Retail"
}GET — List Company Categories
GET /companycategory?offset=0