Create an opportunity

Supply the opportunity object in the request body and this API will create an opportunity with given details.
Note: 'type' parameter is required to use Sales Stage Rules.
Steps to create/edit Sales Stage Rules - Opportunities-> Sales Stage Rules.

Recipes
🦉
Create an opportunity in sales module
Open Recipe
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Returns

The response contains a variable success which represents whether the creation is successful or not and newly created opportunity id is returned as opportunity_id

Query Params
string
required

Mandatory Unique identifier of the opportunity

string
required

Mandatory Title of the opportunity.

string

Optional Description of the opportunity.

string

Optional Unique Id of the owner of the opportunity.

string
required

Mandatory Unique id of the guest.

string
required

Mandatory Unique is of the employee.

string

Optional Unique id of the priority type of the opportunity

string

Optional Unique id the stage type (or) status type of the opportunity,

string

Optional Opportunity type Membership or Package or Others

NOTE: This parameter is required to use Sales Stage Rules.

Steps to create/edit opportunity type: Forms->Forms Creation->Custom List->Opportunity Type

date
required

Mandatory Date on which a followup call is planned(yyyy-mm-dd) in center time.

date

Optional Expected close date in center time.

double

Optional Price listed in the catalog

double

Optional Price offered for the opportunity

string

Optional User defined optional field.

string

Optional User defined optional field.

string

Optional User defined optional field.

string

Optional Unique id of the ticket.

boolean

Optional Boolean which changes guest's center to the valid center_id passed if made true

string

Optional Unique id of the disposition

string

Optional Key(Guid) has the FieldId of the custom field and Value(String) has the value of the custom field.

string

Optional Details of lead source

string

Optional Unique id of the lead source

string

Optional Code of the lead source

Responses

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