Deals

Update deal stage

Changed on

Renames an open stage, moves it to another position, or makes it the quote_sent stage. Its key never changes, so deals in it stay put. won and lost answer 404.

patch/deal_stages/{key}

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

key, string required

The stage's key (e.g. qualified), its id in GET /deal_stages. won and lost cannot be changed or removed.

Request body

DealStageUpdateRequest required
name, string

What the stage is called on the board. Unique in the account, and not Won or Lost.

position, integer

1-based place among the open stages. Omit to keep it where it is, or to add a new stage last.

quote_sent, boolean

true makes this the stage a deal moves to when one of its quotes is sent. Exactly one stage has it, so setting it takes it from the stage that had it. false is ignored.

Response

Stage updated

DealStage required
object, string required
id, string required
name, string required
position, integer required
quote_sent, boolean required
open, boolean required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    4 more changes in this revision