Sign in

Update deal discount

documented

Update a discount on a deal (v2).

PATCH /api/v2/deals/{id}/discounts/{discount_id}Dealsno implementation yet0 runs
No 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://{{COMPANY_DOMAIN}}.pipedrive.com/api/v2/deals/{{$id}}/discounts/{{$discount_id}}" \
  -X PATCH \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"description": "{{$description}}", "amount": {{$amount}}, "type": "{{$type}}"}'