rfctl deals update#

Update an existing deal.

Synopsis#

rfctl deals update <id> [flags]

Arguments#

ArgumentDescription
idThe deal ID (required)

Flags#

FlagTypeDescription
--namestringDeal name
--stageintPipeline stage ID
--ownerintOwner user ID
--amountfloatDeal amount
--currencystringCurrency (e.g., USD, EUR)
--probabilityfloatWin probability (0-100)
--close-datestringExpected 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 3

Update amount and probability#

rfctl deals update 1 --amount 75000 --probability 90

Output#

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"
}