What's New
General Information
crm.deal.add
crm.deal.delete
crm.deal.fields
crm.deal.get
crm.deal.list
crm.deal.productrows.get
crm.deal.productrows.set
crm.deal.update
crm.deal.recurring.add
crm.deal.recurring.delete
crm.deal.recurring.expose
crm.deal.recurring.fields
crm.deal.recurring.get
crm.deal.recurring.list
crm.deal.recurring.update
crm.deal.userfield.add
crm.deal.userfield.get
crm.deal.userfield.update
crm.deal.userfield.delete
crm.deal.userfield.list
crm.deal.contact.add
crm.deal.contact.fields
crm.deal.contact.items.get
crm.deal.contact.items.set
crm.deal.contact.items.delete
crm.deal.contact.delete
CRM Constants
Table Structure
crm.deal.productrows.get
Scope: crm Permissions: for all
crm.deal.productrows.get(id)
Returns products inside the specified deal.
Returned product items can have the following types (TYPE field):
1
– simple product;4
– SKU.
Parameters
Parameter | Description |
---|---|
id | The deal ID. |
Example
var id = prompt("Enter the deal ID"); BX24.callMethod( "crm.deal.productrows.get", { id: id }, function(result) { if(result.error()) console.error(result.error()); else console.dir(result.data()); } ); </script>
© «Bitrix24», 2001-2024