Accounts categories

account_category

Description

The account categories allow classify them by type of interaction.
For example:

  • Customers
  • Suppliers
  • Partners
  • Competitors

Fields

Field Type Description
id Integer Entry id
name String Category name (Customer)
ordering Integer Sorting index. Sort will appliy by asc.
active Boolean (Integer 0 or 1) If = 0, entry will hide from UI.
Default value = 1.

Examples

create:

curl -H "Content-Type: application/json" -X POST -d {"name":"String","ordering":1} https://company.flowlu.ru/api/v1/module/crm/account_category/create/?api_key=<api_key>

update:

curl -H "Content-Type: application/json" -X POST -d {"name":"String","ordering":1} https://company.flowlu.ru/api/v1/module/crm/account_category/update/1?api_key=<api_key>

get:

curl -X GET https://company.flowlu.ru/api/v1/module/crm/account_category/get/1?api_key=<api_key>

delete:

curl -X GET https://company.flowlu.ru/api/v1/module/crm/account_category/delete/1?api_key=<api_key>

list:

curl -X GET https://company.flowlu.ru/api/v1/module/crm/account_category/list?search=flowlu&page=1&api_key=<api_key>