Add or Update Lead Channel
post
[PlatformAddress]/api/1.0/crm?action=addOrUpdateLeadChannel
Add or Update Lead Channel

Example Request

Add Lead Channel

1
{
2
"name": "Referal Channel",
3
}
Copied!

Update Lead Channel

1
{
2
"id": 755,
3
"name": "Another name"
4
}
Copied!

Returns

Property
Description
success
Whether or not the lead channel was added
id
The unique id of the lead channel

Throws

Code
Description
Specific Code: 24376
The crm lead channel does not exist
Specific Code: 24377
The crm lead channel is not editable
Specific Code: 24378
An error has occurred
Specific Code: 24379
The request contains invalid data
Specific Code: 24380
The request contains invalid data
This call takes values for a lead channel, and either
    1.
    Updates the values for that lead channel (after you have provided an id in the parameters), or
    2.
    Adds the lead channel to the system (if the id parameter is missing) 1. The result of this call will contain the status of the result (either
    true or false) and the lead channel identifier of the updated or newly
    created lead channel.
Last modified 8d ago