Saltar al contenido principal
PATCH
/
crm
/
pipelines
/
2026-03
/
{objectType}
/
{pipelineId}
cURL
curl --request PATCH \
  --url https://api.hubapi.com/crm/pipelines/2026-03/{objectType}/{pipelineId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "archived": true,
  "displayOrder": 123,
  "label": "<string>"
}
'
{
  "archived": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "displayOrder": 123,
  "id": "<string>",
  "label": "<string>",
  "stages": [
    {
      "archived": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "displayOrder": 123,
      "id": "<string>",
      "label": "<string>",
      "metadata": {},
      "updatedAt": "2023-11-07T05:31:56Z",
      "archivedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "updatedAt": "2023-11-07T05:31:56Z",
  "archivedAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://developers.hubspot.es/docs/llms.txt

Use this file to discover all available pages before exploring further.

Supported products

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

objectType
string
requerido
pipelineId
string
requerido

Parámetros de consulta

validateDealStageUsagesBeforeDelete
boolean
predeterminado:false
validateReferencesBeforeDelete
boolean
predeterminado:false

Cuerpo

application/json
archived
boolean

Si se archiva o no el pipeline. Esta propiedad solo debe especificarse al restaurar un pipeline archivado. Si se especifica en cualquier otra llamada, la solicitud fallará y se devolverá un "400 Solicitud incorrecta".

displayOrder
integer<int32>

El orden en que se mostrará este pipeline. Si dos pipelines tienen un "displayOrder" coincidente, se ordenarán alfabéticamente según la etiqueta.

label
string

Una etiqueta única que se utiliza para organizar los pipelines en la UI de HubSpot

Respuesta

successful operation

archived
boolean
requerido

Si se archiva o no el pipeline.

createdAt
string<date-time>
requerido

La fecha en que se creó el pipeline. Los pipelines predeterminados tendrán createdAt = 0.

displayOrder
integer<int32>
requerido

El orden en que se mostrará este pipeline. Si dos pipelines tienen un "displayOrder" coincidente, se ordenarán alfabéticamente según la etiqueta.

id
string
requerido

Un identificador único generado por HubSpot que se puede utilizar para recuperar y actualizar el pipeline.

label
string
requerido

Una etiqueta única que se utiliza para organizar los pipelines en la UI de HubSpot

stages
object[]
requerido

Las etapas asociadas con el pipeline. Pueden recuperarse y actualizarse mediante los puntos de terminación de las etapas de pipeline.

updatedAt
string<date-time>
requerido

La fecha en que se actualizó por última vez el pipeline.

archivedAt
string<date-time>

La fecha en que se archivó el pipeline. "archivedAt" solo estará presente si se archiva el pipeline.

Last modified on April 13, 2026