Update deal
pipelinecrm_update_dealDestructiveIdempotent
WRITE: change fields of a deal; only the fields you pass change. Move it to another stage with stage_id. Setting probability to 100 or 0 closes the deal as won or lost; give won/loss reason ids when you do. Archive with archived: true. No email is sent to a new owner. PUT /deals/{id}.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New deal name. | |
| value | No | New value. | |
| deal_id | Yes | Pipeline CRM deal id. | |
| summary | No | New description. | |
| tag_ids | No | Full list of deal tag ids (replaces the list). | |
| archived | No | true archives the deal, false restores it. | |
| owner_id | No | New owner user id. | |
| stage_id | No | Move the deal to this deal stage id. | |
| status_id | No | Deal status id. | |
| company_id | No | Company id. | |
| person_ids | No | Full list of associated person ids (replaces the list). | |
| closed_time | No | Actual close date (yyyy-mm-dd). | |
| probability | No | Probability of closing, 0-100. 100 closes the deal as won, 0 as lost. | |
| custom_fields | No | Custom field values keyed by the custom field's key (see the account's custom field labels in Pipeline CRM). | |
| won_reason_id | No | Deal won reason id. | |
| loss_reason_id | No | Deal loss reason id. | |
| won_reason_notes | No | Why the deal was won. | |
| loss_reason_notes | No | Why the deal was lost. | |
| primary_contact_id | No | Primary contact person id. | |
| expected_close_date | No | New expected close date (yyyy-mm-dd). |