Add or Update Lead Quality
post
[PlatformAddress]/api/1.0/crm?action=addOrUpdateLeadQuality
Add or Update Lead Quality

Example Request

Add Lead Quality

1
{
2
"label": "A Grade",
3
"showOnDash": false,
4
}
Copied!

Update Lead Quality

1
{
2
"id": 755,
3
"label": "Updated Quality"
4
}
Copied!

Returns

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

Throws

Code
Description
Specific Code: 24304
The crm lead quality does not exist
Specific Code: 24305
An error has occurred
Specific Code: 24306
The request contains invalid data
Specific Code: 24307
The request contains invalid data
This call takes values for a lead quality, and either
    1.
    Updates the values for that lead quality (after you have provided an id in the parameters), or
    2.
    Adds the lead quality 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 quality identifier of the updated or newly
    created lead quality.
Last modified 8d ago