Documentation

crm.product.delete

crm.product.delete(id)

Deletes a product.

Parameters

Parameter Description
id Product ID.

Example

 var id = prompt("Enter ID");
  BX24.callMethod(
   "crm.product.delete", 
   { id: id }, 
   function(result) 
   {
    if(result.error())
     console.error(result.error());
    else
     console.info(result.data());
   }
  ); 


© «Bitrix Inc.», 2001-2019, «Bitrix Inc.», 2019