Lead loss reasons

loss_reason

Description

Lead Loss Reasons. When some lead is lost it needs to set the Loss Reason field for analytics and make sales more efficient through solving most popular loss reasons.
Account Administrator can set own Loss Reasons in Account Settings

Fields

Field Type Description
id Integer Entry id
name String Loss reason 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.

Examples

create:

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

get:

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

delete:

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

list:

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