Lead sources

source

Description

Every deal can has source from where it created (email, call, webform or ads campaign etc). Account Administrator can set own sources.

Fields

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

Examples

create:

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

get:

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

delete:

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

list:

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