Add deal
documentedCreate a new deal (v2).
POST /api/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.pipedrive.com/api/v2/deals" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"title": "{{$title}}", "owner_id": {{$owner_id}}, "person_id": {{$person_id}}, "org_id": {{$org_id}}, "pipeline_id": {{$pipeline_id}}, "stage_id": {{$stage_id}}, "value": {{$value}}, "currency": "{{$currency}}", "is_deleted": {{$is_deleted}}, "is_archived": {{$is_archived}}, "archive_time": "{{$archive_time}}", "status": "{{$status}}", "probability": {{$probability}}, "lost_reason": "{{$lost_reason}}", "visible_to": {{$visible_to}}, "close_time": "{{$close_time}}", "won_time": "{{$won_time}}", "lost_time": "{{$lost_time}}", "expected_close_date": "{{$expected_close_date}}", "label_ids": {{$label_ids}}, "custom_fields": {{$custom_fields}}}'"