update_deal
Destructive
Update an existing deal in the CRM. Modify fields such as name, value, status (OPEN/WON/LOST), stage, and custom attributes using its ID.
Instructions
Update an existing deal. Use list_deals or get_deal to find the deal ID. Status options: OPEN, WON, LOST. fields: custom fields as a JSON object (e.g. {"field_key": "value"}). Call list_fields first to discover available field keys.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | ||
| phone | No | ||
| No | |||
| value | No | ||
| stage_id | No | ||
| status | No | ||
| user_id | No | ||
| origin_id | No | ||
| fields | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |