Move deal
Changed onMoves a deal to another stage, or to another position within its stage. stage is any stage key from GET /deal_stages, or won or lost. Moving to won or lost records won_at or lost_at; moving back to an open stage clears them. Answers 400 with code invalid_transition for a move the pipeline does not allow, such as straight from won to lost, or to a stage that does not exist.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
The resource's ID, as returned in its id field
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
Stage to move the deal to. A stage key from GET /deal_stages: one of the account's own stages, or won or lost.
1-based position within the stage. Omit to put the deal last.
Why the deal was lost, when moving to lost
Response
Deal moved
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