rfctl deals update#
Update an existing deal.
Synopsis#
rfctl deals update <id> [flags]Arguments#
| Argument | Description |
|---|---|
id | The deal ID (required) |
Flags#
| Flag | Type | Description |
|---|---|---|
--name | string | Deal name |
--stage | int | Pipeline stage ID |
--owner | int | Owner user ID |
--amount | float | Deal amount |
--currency | string | Currency (e.g., USD, EUR) |
--probability | float | Win probability (0-100) |
--close-date | string | Expected close date (YYYY-MM-DD) |
All flags are optional. Only specified fields will be updated.
Examples#
Move to next stage#
rfctl deals update 1 --stage 3Update amount and probability#
rfctl deals update 1 --amount 75000 --probability 90Output#
Returns JSON with the updated deal:
{
"id": 1,
"name": "Enterprise License",
"amount": 75000,
"probability": 90,
"stage_id": 3,
"updated_at": "2024-01-20T14:45:00Z"
}