Zum Inhalt springen
English
Esc
↑↓navigate↵open⌘Jpreview

Update a pipeline stage

Early access: request API access for your workspace at https://bauhow.com/support before using this endpoint.

Renames a stage or sets its win probability (0–100) and critical threshold in days. Pass null to clear a value. Requires the key’s member to manage workspace settings.

PATCH/v1/deal-stages/{id}
Authorization
AuthorizationBearer token · headerrequired
Workspace API key (`bh_…`).
Path parameters
idstringrequired
min length 1
Request body
application/json
namestring
min length 1 · max length 80
probabilityinteger | any
Show properties
Any of:
integer
integer
any
any
staleAfterDaysinteger | any
Show properties
Any of:
integer
integer
any
any
Responses
200OK
idstringrequired
keystringrequired
namestringrequired
sortOrderintegerrequired
min -9007199254740991 · max 9007199254740991
archivedbooleanrequired
probabilityinteger | anyrequired
Show properties
Any of:
integer
integer
any
any
staleAfterDaysinteger | anyrequired
Show properties
Any of:
integer
integer
any
any
Request
curl -X PATCH "https://app.bauhow.com/api/v1/deal-stages/string" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "probability": 0,
  "staleAfterDays": 0
}'
Response
{
  "id": "string",
  "key": "string",
  "name": "string",
  "sortOrder": 0,
  "archived": true,
  "probability": 0,
  "staleAfterDays": 0
}