Update a deal

PATCH/deals/{id}

Requires scope: write:deals

Parameters

ParameterInTypeDescription
idrequiredpathstring
Idempotency-KeyrequiredheaderstringStable logical request ID required for every machine mutation; exact retries replay and changed inputs conflict.

Request body

FieldTypeAllowed valuesDescription
namestringany string
valuenumberany number
stagestringdiscoveryqualifyingproposalnegotiationwonlost
next_stepstringany string
next_step_duestringany string
owner_user_idstringany string
lost_reasonstringno_responsetimingbudgetchose_another_agencyproject_cancellednot_a_fitother
lost_reason_otherstringany string
archivedbooleanany boolean

Responses

StatusDescription
200Updated
401Missing or invalid API key
403Key lacks the required scope
404Deal not found
409Concurrent edit conflict
429Rate limit exceeded (see Retry-After)
Is this page helpful?