Documentation

Deals

Scope: catalog Permissions: all

MethodDescription
crm.deal.addCreates a new deal.
crm.deal.delete Deletes the specified deal and all the associated objects.
crm.deal.fields Returns the description of the deal fields.
crm.deal.get Returns a deal by the deal ID.
crm.deal.list Returns a list of deals selected by the filter specified as the parameter.
crm.deal.productrows.get Returns products inside the specified deal.
crm.deal.productrows.set Creates or updates product entries inside the specified deal.
crm.deal.recurring.add Adds new setting for recurring deal.
crm.deal.recurring.delete Deletes existing setting for recurring deal template.
crm.deal.recurring.expose Creates new deal from a template.
crm.deal.recurring.fields Returns list of setting fields for recurring deal with description.
crm.deal.recurring.get Returns setting fields for recurring deal template by its ID.
crm.deal.recurring.list Returns list of settings for recurring deal templates by the filter.
crm.deal.recurring.update Updates existing setting for the recurring deal template.
crm.deal.update Updates a specific existing deal.
crm.deal.userfield.add Creates a new user field for deals.
crm.deal.userfield.get Returns a user field for deals by ID.
crm.deal.userfield.update Updates an existing user field for deals.
crm.deal.userfield.delete Deletes a user field for deals.
crm.deal.userfield.list Returns a list of user fields for deals by filter.
crm.deal.contact.addAdds a contact to the specified deal.
crm.deal.contact.fieldsReturns a description of fields for deal-contact link.
crm.deal.contact.items.getReturns a set of contacts, associated with the specified deal.
crm.deal.contact.items.setSpecifies a set of contacts, associated with the specific deal.
crm.deal.contact.items.deleteClears a set of contacts, associated with the specified deal.
crm.deal.contact.deleteDeletes a contact from the specified deal.
[link=9367953]crm.dealcategory.default.set[/link] Writes settings for general deal category.
[link=9367959]crm.dealcategory.default.get[/link] Reads settings for general deal category.

General list of deal events is provided here.



© «Bitrix24», 2001-2024
Up