Update deal
Changed onUpdates a deal's title, contact, value, currency, expected close date, description or next step. Send next_step: null to clear it. stage is ignored here: move a deal with POST /deals/{id}/move.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
The resource's ID, as returned in its id field
Request body
Contact ID (con_...) the deal is with
Expected value in the currency's smallest unit (cents)
When you expect the deal to close, as YYYY-MM-DD. A value that isn't a date is refused with 422.
What the deal is about. Running updates go on its timeline: POST /activities with deal.
The next thing to do on the deal, e.g. "Call back about the roof size"
When the next step is due, as YYYY-MM-DD. The team is reminded that morning, in the business's time zone, while the deal is open. A value that isn't a date is refused with 422.
Starting stage, on create only. A stage key from GET /deal_stages: one of the account's own stages, or won or lost. Defaults to the first stage. Use POST /deals/{id}/move to change it later.
Why the deal was lost, on create with stage: lost only
Response
Deal updated
ID by default, full object when expanded
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
4 more changes in this revision
- warning