Create opportunity
documentedCreate a new Opportunity.
POST /OpportunitiesOpportunitiesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.{{$pod}}.insightly.com/v3.1/Opportunities" \
-X POST \
-H "Authorization: Basic {{INSIGHTLY_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"OPPORTUNITY_NAME": "{{$title}}", "FORECAST_CLOSE_DATE_UTC": "{{$forecast_close_date_utc}}", "OPPORTUNITY_VALUE": {{$value}}, "PROBABILITY": {{$probability}}, "CUSTOM_FIELDS": {{$custom_fields}} }'