Update a deal (partial) — move its stage, win or lose it
PUT/api/deals/:deal
Changes only the fields sent; PATCH is accepted as well. Needs
deals.manage. Moving the deal is stage_id (and pipeline_id when
the stage is in another pipeline). Setting status to won or lost
on an open deal stamps closed_at with the current time.
Request
Responses
- 200
- 401
- 403
- 404
- 422
The updated deal.
Not authenticated. code: account_disabled means the member's seat was deactivated in this workspace: the session is over even though the token was not revoked (clients sign out and clean up).
Authenticated but not allowed.
Resource not found (or not visible to the current tenant).
The request failed validation.