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