Manage deals
deals_manageChange deals. create (title and stageId from deal_stages_list), update (stageId moves it; omitted fields unchanged), delete (soft; confirm first), restore (ids from deals_list deleted).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Required for: update, delete. | |
| ids | No | restore: deleted ids. | |
| notes | No | Used by: create, update. | |
| title | No | Required for: create; optional for: update. | |
| action | Yes | ||
| closeAt | No | Used by: create, update. Expected close date, YYYY-MM-DD or ISO 8601. | |
| stageId | No | Required for: create; optional for: update. | |
| companyId | No | Used by: create, update. | |
| contactId | No | Used by: create, update. | |
| deletedAt | No | restore: a deleted_at (undoes that whole delete). | |
| lostReason | No | ||
| valueCents | No | Used by: create, update. In the account's default currency (deals have no currency of their own). |