v1
latestOpenAPI 3.1.02026-07-2422707.0 MBCreate an opportunity
Supply the opportunity object in the request body and this API will create an opportunity with given details. <br/> Note: 'type' parameter is required to use Sales Stage Rules. <br/>Steps to create/edit Sales Stage Rules - Opportunities-> Sales Stage Rules.
Query parameters
Mandatory Unique identifier of the opportunity
Mandatory Title of the opportunity.
Optional Description of the opportunity.
Optional Unique Id of the owner of the opportunity.
Mandatory Unique id of the guest.
Mandatory Unique is of the employee.
Optional Unique id of the priority type of the opportunity
Optional Unique id the stage type (or) status type of the opportunity,
Optional Opportunity type Membership or Package or Others <br/><p style='color:red'>NOTE: This parameter is required to use Sales Stage Rules.</p><p>Steps to create/edit opportunity type: Forms->Forms Creation->Custom List->Opportunity Type</p>
Mandatory Date on which a followup call is planned(yyyy-mm-dd) in center time.
Optional Expected close date in center time.
Optional Price listed in the catalog
Optional Price offered for the opportunity
Optional User defined optional field.
Optional User defined optional field.
Optional User defined optional field.
Optional Unique id of the ticket.
Optional Boolean which changes guest's center to the valid center_id passed if made true
Optional Unique id of the disposition
Optional Key(Guid) has the FieldId of the custom field and Value(String) has the value of the custom field.
Optional Details of lead source
Optional Unique id of the lead source
Optional Code of the lead source
Response
200
Example response
{
"success": true,
"opportunity_id": "ae0df9db-908b-4169-aca0-756b879df4f2",
"message": "Opportunity Created Succesfully"
}