API For creating a deal

Field NameExampleDescription
Type"New Business"
Description"Presta Loan Approval."
Deal_NameJohn Doe
Next_Step"Approval"
Stage"Needs Analysis"
Closing_Date"2020-09-03"
Lead_Status"Loan Inquiry"
Mobile"2547208798955"
Desired_Amount"50000.00"
Desired_Period"5"
Lead_Source"USSD"
Desired_Security"Logbook"

Curl command for creating a deal

curl --location --request POST 'http://localhost:9000/api/v1/zoho/deal' \
--header 'Content-Type: application/json' \
--data-raw '
		{
			"Owner": {
				"id": "2883756000000133013"
			},
			"Account_Name": {
				"id": "2883756000000153009"
			},
			
      "Type": "New Business",
			"Description": "Presta Loan Approval.",
			"Deal_Name": "Presta-Loan",
			"Next_Step": "Approval",
			"Stage": "Needs Analysis",
			"Closing_Date": "2020-09-03",
      "Lead_Status": "Loan Inquiry",
      "Mobile": "2547208798955",
      "Desired_Amount": "50000.00",
      "Desired_Period" : "5",
      "Lead_Source" : "USSD",
      "Desired_Security": "Logbook"
		}
'