Add product to deal
documentedAdd a product to a deal (v2).
POST /api/v2/deals/{id}/productsDealsno 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/{{$deal_id}}/products" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "X-API-Token: {{PIPEDRIVE_API_KEY}}" \
-d '{"data": [{"product_id": {{$product_id}}, "item_price": {{$item_price}}, "quantity": {{$quantity}}, "tax": {{$tax}}, "comments": "{{$comments}}", "discount": {{$discount}}}]}'