Add or Update Lead Source

Add or Update Lead Source

POST [PlatformAddress]/api/1.0/crm?action=addOrUpdateLeadSourceundefined

Path Parameters

{
  "success": true,
  "id": 755
}

Example Request

Add Lead Source

{
  "name": "Referal Source",
  "isReferral": true,
}

Update Lead Source

{
  "id": 755,
  "description": "#Description of source"
}

Returns

Throws

This call takes values for a lead source, and either

  1. Updates the values for that lead source (after you have provided an id in the parameters), or

  2. Adds the lead source 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 source identifier of the updated or newly

    created lead source.

Last updated