What's New
General Information
CRM Constants
Table Structure
crm.lead.add
crm.lead.delete
crm.lead.fields
crm.lead.get
crm.lead.list
crm.lead.productrows.get
crm.lead.productrows.set
crm.lead.update
crm.lead.userfield.add
crm.lead.userfield.get
crm.lead.userfield.list
crm.lead.userfield.update
crm.lead.userfield.delete
crm.lead.delete
crm.lead.delete(id)
Deletes the specified lead and all the associated objects.
Parameters
Parameter | Description |
---|---|
id | Lead ID. |
Example
<script type="text/javascript"> var id = prompt("Enter ID"); BX24.callMethod( "crm.lead.delete", { id: id }, function(result) { if(result.error()) console.error(result.error()); else console.info(result.data()); } ); </script>
© «Bitrix24», 2001-2024