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