Get Started
Usage API
More information

opportunities

Name Resource Description
Add an opportunity contact POST api/2.0/crm/opportunity/{opportunityid}/contact/{contactid} Adds the selected contact to the opportunity with the ID specified in the request.
Create an opportunity POST api/2.0/crm/opportunity Creates an opportunity with the parameters specified in the request.
Create an opportunity stage POST api/2.0/crm/opportunity/stage Creates an opportunity stage with the parameters (title, description, success probability, etc.) specified in the request.
Delete an opportunity DELETE api/2.0/crm/opportunity/{opportunityid} Deletes an opportunity with the ID specified in the request.
Delete an opportunity contact DELETE api/2.0/crm/opportunity/{opportunityid}/contact/{contactid} Deletes the selected contact from the opportunity with the ID specified in the request.
Delete an opportunity stage DELETE api/2.0/crm/opportunity/stage/{id} Deletes an opportunity stage with the ID specified in the request.
Delete filtered opportunities DELETE api/2.0/crm/opportunity/filter Deletes a list of all the opportunities matching the parameters specified in the request.
Delete opportunities by IDs PUT api/2.0/crm/opportunity Deletes a group of opportunities with the IDs specified in the request.
Get all opportunity stages GET api/2.0/crm/opportunity/stage Returns a list of all the opportunity stages available on the portal.
Get an opportunity by ID GET api/2.0/crm/opportunity/{opportunityid} Returns the detailed information about an opportunity with the ID specified in the request.
Get an opportunity stage GET api/2.0/crm/opportunity/stage/{stageid} Returns an opportunity stage with the ID specified in the request.
Get contact opportunities GET api/2.0/crm/opportunity/bycontact/{contactid} Returns a list of all the opportunities for the contact with the ID specified in the request.
Get filtered opportunities GET api/2.0/crm/opportunity/filter Returns a list of all the opportunities matching the parameters specified in the request.
Get opportunity contacts GET api/2.0/crm/opportunity/{opportunityid}/contact Returns a list of all the contacts related to the opportunity with the ID specified in the request.
Set access rights to the filtered opportunities PUT api/2.0/crm/opportunity/filter/access Sets access rights to the list of all the opportunities matching the parameters specified in the request.
Set access rights to the opportunities by IDs PUT api/2.0/crm/opportunity/access Sets access rights to the list of opportunities with the IDs specified in the request.
Set access rights to the opportunity PUT api/2.0/crm/opportunity/{opportunityid}/access Sets access rights to the selected opportunity with the parameters specified in the request.
Update an opportunity PUT api/2.0/crm/opportunity/{opportunityid} Updates the selected opportunity with the parameters specified in the request.
Update an opportunity stage by ID PUT api/2.0/crm/opportunity/{opportunityid}/stage/{id} Updates the selected opportunity to the stage with the ID specified in the request.
Update an opportunity stage by parameters 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.
Update an opportunity stage color PUT api/2.0/crm/opportunity/stage/{id}/color Updates the selected opportunity stage with the color specified in the request.
Update the order of opportunity stages PUT api/2.0/crm/opportunity/stage/reorder Updates the available order of opportunity stages with a list specified in the request.