Update a pipeline for a custom object type
Changes only the properties sent. A stage entry without an ID creates a new stage on each request. Use the returned IDs on subsequent updates to keep those stages and their record assignments. If the list omits an existing stage, the update returns 409 crm.pipeline.stage_removal_unconfirmed and lists the stages it would delete. Repeat with force=true to confirm. With dryRun=true, runs every check and returns { affectedRecordCount }, the records whose stage the update would clear, without changing anything. A dry run needs no force.
A name, slug or stage ID that another pipeline on the object type has is refused with 409 and a code of crm.pipeline.name_taken, crm.pipeline.slug_taken or crm.pipeline.stage_id_taken. Stage IDs on an object type must also be distinct after ignoring case, hyphens, and underscores. A new collision with an existing stage returns 409 crm.pipeline.stage_id_taken; one between two new stages in the request returns 422. A stage ID that newly conflicts with another stage’s label, in either its stored or published spelling, is refused with 409 crm.pipeline.stage_id_taken. A name or stage ID can be taken once the other pipeline gives it up, so the request can be sent again then. A workspace without multiple pipelines is refused with 403 crm.pipeline.configuration_disabled.
Requires a workspace owner or admin.
Required scopes: custom_objects:read and config:update
Rate limit category: Write
Path Parameters
Query Parameters
Body ParametersJSON
Update a pipeline for a custom object type
curl https://api.lightfield.app/v1/objects/$ENTITY_SLUG/pipelines/$ID \
-H 'Content-Type: application/json' \
-H 'Lightfield-Version: 2026-03-01' \
-H "Authorization: Bearer $API_KEY" \
-d '{}'{
"id": "id",
"description": "description",
"forecastEnabled": true,
"name": "name",
"slug": "slug",
"stages": [
{
"id": "id",
"label": "label",
"category": "ACTIVE",
"color": "RED",
"description": "description",
"forecastPercentage": 0,
"icon": "BACKLOG"
}
]
}Returns Examples
{
"id": "id",
"description": "description",
"forecastEnabled": true,
"name": "name",
"slug": "slug",
"stages": [
{
"id": "id",
"label": "label",
"category": "ACTIVE",
"color": "RED",
"description": "description",
"forecastPercentage": 0,
"icon": "BACKLOG"
}
]
}