Add new opportunity

Add new opportunity

Required scopes: flex.community.opportunities.create

Path Params
string
required

organization slug

Body Params
properties
object

An object that contains all custom properties that can be applied to the item.

string
required

The full name of the opportunity.

string

The _id of the contact company associated with the opportunity. Either a member or a company is necessary to create an opportunity.

string

The _id of the contact member associated with the opportunity. Either a member or a company is necessary to create an opportunity.

string

The _id of the status associated with the opportunity.

number

The probability of the deal, it should match the percentage associated with the status of the opportunity.

date-time

The start date of the opportunity.

number

The size of the deal in currency.

number

The number of members that come with the opportunity.

resources
array of strings

Array containing all the _ids of resources associated with the opportunity.

resources
requestedPlans
array of strings

Array containing all the _ids of plans that were requested for the opportunity.

requestedPlans
Response

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json