Skip to main content
Moves a deal to another stage, wins, loses or reopens it, or changes its title, value, contact or notes. Send only what changes. It follows the board’s rules:
  • Moving it into the pipeline’s won or lost stage wins or loses it; moving it out of one reopens it.
  • Setting status to won or lost moves it to the pipeline’s won or lost stage, if the pipeline has one. Setting open on a deal in a closing stage moves it back to the last ordinary stage.
  • Sending stage and status together moves it and sets that status, whatever the stage.
A deal stays in its pipeline: stage must be one of that pipeline’s. The change shows in the deal’s history, made by the API key.
Needs the crm.deals:write scope.

Path parameters

Body

Request

Response

200 OK — the deal. A change sends one event to your webhook endpoints: deal.won, deal.lost or deal.reopened when its status changed, otherwise deal.stage_changed when it moved, otherwise deal.updated. A request that changes nothing sends none.

Errors

Every refusal is {"error": {"code", "message", "field"}}; field is there when one input is at fault. Any request can also be refused for its key, its account or its rate (key_required, invalid_key, account_suspended, plan_excludes_api, address_not_allowed, rate_limited); see the overview.