opportunities

Name Resource Description
Get deal milestones GET api/2.0/crm/opportunity/stage Returns the list of all opportunity stages available on the portal
Get deals GET api/2.0/crm/opportunity/filter Returns the list of all opportunities matching the parameters specified in the request
Get deal by I d GET api/2.0/crm/opportunity/{opportunityid} Returns the detailed information about the opportunity with the ID specified in the request
Get deal milestone by I d GET api/2.0/crm/opportunity/stage/{stageid} Returns the stage of the opportunity with the ID specified in the request
Get deals GET api/2.0/crm/opportunity/bycontact/{contactid} Returns the list of all contact opportunities
Get deal members GET api/2.0/crm/opportunity/{opportunityid}/contact Returns the list of all contacts associated with the opportunity with the ID specified in the request
Create deal POST api/2.0/crm/opportunity Creates the opportunity with the parameters specified in the request
Create deal milestone POST api/2.0/crm/opportunity/stage Creates an opportunity stage with the parameters (title, description, success probability, etc.) specified in the request
Add member to deal POST api/2.0/crm/opportunity/{opportunityid}/contact/{contactid} Adds the selected contact to the opportunity with the ID specified in the request
Delete batch deals PUT api/2.0/crm/opportunity Deletes the group of opportunities with the IDs specified in the request
Set access to batch deal PUT api/2.0/crm/opportunity/access Sets access rights for other users to the list of opportunities with the IDs specified in the request
Update deal milestone PUT api/2.0/crm/opportunity/stage/{id} Updates the selected opportunity stage with the parameters (title, description, success probability, etc.) specified in the request
Set access to batch deal PUT api/2.0/crm/opportunity/filter/access Sets access rights for other users to the list of all opportunities matching the parameters specified in the request
Update deal milestones order PUT api/2.0/crm/opportunity/stage/reorder Updates the available opportunity stages order with the list specified in the request
Update deal PUT api/2.0/crm/opportunity/{opportunityid} Updates the selected opportunity with the parameters specified in the request
Update deal milestone color PUT api/2.0/crm/opportunity/stage/{id}/color Updates the selected opportunity stage with the color specified in the request
Set access to deal PUT api/2.0/crm/opportunity/{opportunityid}/access Sets access rights for the selected opportunity with the parameters specified in the request
Update to deal milestone PUT api/2.0/crm/opportunity/{opportunityid}/stage/{id} Updates the selected opportunity to the stage with the ID specified in the request
Delete batch deals DELETE api/2.0/crm/opportunity/filter Deletes the list of all opportunities matching the parameters specified in the request
Delete deal milestone DELETE api/2.0/crm/opportunity/stage/{id} Deletes the opportunity stage with the ID specified in the request
Delete deal DELETE api/2.0/crm/opportunity/{opportunityid} Deletes the opportunity with the ID specified in the request
Delete member from deal DELETE api/2.0/crm/opportunity/{opportunityid}/contact/{contactid} Deletes the selected contact from the opportunity with the ID specified in the request