curl --request PUT \
--url https://api.hubapi.com/crm/v3/pipelines/{objectType}/{pipelineId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayOrder": 123,
"label": "<string>",
"stages": [
{
"displayOrder": 1,
"label": "Done",
"metadata": {
"ticketState": "CLOSED"
}
}
]
}
'{
"archived": false,
"createdAt": "2019-10-30T03:30:17.883Z",
"displayOrder": 0,
"id": "812723471",
"label": "My ticket pipeline",
"stages": [
{
"archived": false,
"createdAt": "2019-10-30T03:30:17.883Z",
"displayOrder": 0,
"id": "1234912",
"label": "In Progress",
"metadata": {
"ticketState": "OPEN"
},
"updatedAt": "2019-12-07T16:50:06.678Z"
},
{
"archived": false,
"createdAt": "2019-10-30T03:30:17.883Z",
"displayOrder": 0,
"id": "1234914",
"label": "Done",
"metadata": {
"ticketState": "CLOSED"
},
"updatedAt": "2019-12-07T16:50:06.678Z"
}
],
"updatedAt": "2019-12-07T16:50:06.678Z"
}curl --request PUT \
--url https://api.hubapi.com/crm/v3/pipelines/{objectType}/{pipelineId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayOrder": 123,
"label": "<string>",
"stages": [
{
"displayOrder": 1,
"label": "Done",
"metadata": {
"ticketState": "CLOSED"
}
}
]
}
'{
"archived": false,
"createdAt": "2019-10-30T03:30:17.883Z",
"displayOrder": 0,
"id": "812723471",
"label": "My ticket pipeline",
"stages": [
{
"archived": false,
"createdAt": "2019-10-30T03:30:17.883Z",
"displayOrder": 0,
"id": "1234912",
"label": "In Progress",
"metadata": {
"ticketState": "OPEN"
},
"updatedAt": "2019-12-07T16:50:06.678Z"
},
{
"archived": false,
"createdAt": "2019-10-30T03:30:17.883Z",
"displayOrder": 0,
"id": "1234914",
"label": "Done",
"metadata": {
"ticketState": "CLOSED"
},
"updatedAt": "2019-12-07T16:50:06.678Z"
}
],
"updatedAt": "2019-12-07T16:50:06.678Z"
}Documentation Index
Fetch the complete documentation index at: https://developers.hubspot.jp/docs/llms.txt
Use this file to discover all available pages before exploring further.
Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
successful operation
A pipeline definition.
パイプラインがアーカイブされているかどうか。
パイプラインが作成された日付。既定のパイプラインではcreatedAt = 0になります。
このパイプラインを表示する順序。2つのパイプラインの「displayOrder」が同じ場合、ラベルのアルファベット順に並べ替えられます。
HubSpotによって生成される固有ID。パイプラインの取得や更新に使用されます。
HubSpotのUIでパイプラインを整理するために使用される固有ラベル
パイプラインに関連付けられたステージ。これは、パイプライン ステージ エンドポイントで取得して更新できます。
Show child attributes
パイプラインが最後に更新された日付。
パイプラインがアーカイブされた日付。「archivedAt」はパイプラインがアーカイブされている場合にのみ存在します。