Skip to main content
PUT
Replace a pipeline

Supported products

Autorisations

Authorization
string
header
requis

The access token received from the authorization server in the OAuth 2.0 flow.

Paramètres de chemin

objectType
string
requis
pipelineId
string
requis

Paramètres de requête

validateDealStageUsagesBeforeDelete
boolean
défaut:false
validateReferencesBeforeDelete
boolean
défaut:false

Corps

application/json
displayOrder
integer<int32>
requis

The order for displaying this pipeline stage. If two pipeline stages have a matching displayOrder, they will be sorted alphabetically by label.

label
string
requis

A label used to organize pipeline stages in HubSpot's UI. Each pipeline stage's label must be unique within that pipeline.

stages
object[]
requis

The stages associated with the pipeline. They can be retrieved and updated via the pipeline stages endpoints.

Réponse

successful operation

archived
boolean
requis

Whether the pipeline is archived.

createdAt
string<date-time>
requis

The date the pipeline was created. The default pipelines will have createdAt = 0.

displayOrder
integer<int32>
requis

The order for displaying this pipeline. If two pipelines have a matching displayOrder, they will be sorted alphabetically by label.

id
string
requis

A unique identifier generated by HubSpot that can be used to retrieve and update the pipeline.

label
string
requis

A unique label used to organize pipelines in HubSpot's UI

stages
object[]
requis

The stages associated with the pipeline. They can be retrieved and updated via the pipeline stages endpoints.

updatedAt
string<date-time>
requis

The date the pipeline was last updated.

archivedAt
string<date-time>

The date the pipeline was archived. archivedAt will only be present if the pipeline is archived.

Dernière modification le 1 avril 2026