---
title: "Update deal stage"
method: PATCH
path: "/deal_stages/{key}"
tags: ["Deals"]
---

# Update deal stage

`PATCH /deal_stages/{key}`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/deal_stages/{key}`
- Auth: API key in header `Authorization`

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.

## Path parameters

- `key` string, required

## Request body

- DealStageUpdateRequest
  - `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 `200`

Stage updated

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

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per owner on the free tier: every API key and OAuth token one person holds on an account shares one budget, and the account's team keys share another. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

## Changes

- **2026-11-15** `56c22ab9b282`: 7 warning
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `400`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `401`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `403`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `404`
  - …3 more
- **2026-11-13** `4ed07d37608f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/crevio/apis/crevio-api-v1/changes/deal_stages/:key/patch.md)

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) - [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/ccbd8fcbd6d7?raw)
