Company Category

Categories used to classify customers and suppliers.

Path Parameter::CODE (string) — the category code in the URL path

Endpoints

GET
/companycategory

List company categories with pagination and filters

GET
/companycategory/:CODE

Get a single company category by code

POST
/companycategory

Create a new company category

PUT
/companycategory/:CODE

Update a company category by code

DELETE
/companycategory/:CODE

Delete a company category by code

Fields

FieldTypeRequiredNotes
codestring
Yes
Category code. Proven: "CC-01".
descriptionstring
Yes
Category name. Proven: "Retail".
attachmentsstringNoFile attachment reference.
isactivebooleanNoActive flag. Proven: true.

Examples

POST — Create Company Category

POST /companycategory
{
  "code": "CC-01",
  "description": "Retail"
}

GET — List Company Categories

GET /companycategory?offset=0