Create deal
documentedCreate a new deal.
POST /v2/dealsDealsno 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.moskitcrm.com/v1/deals" \
-X POST \
-H "apikey: {{MOSKITCRM_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$title}}", "description": "{{$description}}", "value": {{$value}}, "currency": "{{$currency}}", "stage_id": {{$stage_id}}, "owner_id": {{$owner_id}}, "organization_id": {{$organization_id}}, "contacts": [{{$contact_id}}], "close_date": "{{$close_date}}"}'