メインコンテンツへスキップ
PATCH
/
marketing
/
v3
/
marketing-events
/
{objectId}
objectId別にマーケティングイベントを更新
curl --request PATCH \
  --url https://api.hubapi.com/marketing/v3/marketing-events/{objectId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "customProperties": [
    {
      "dataSensitivity": "high",
      "isEncrypted": true,
      "isLargeValue": true,
      "name": "<string>",
      "persistenceTimestamp": 123,
      "requestId": "<string>",
      "selectedByUser": true,
      "selectedByUserTimestamp": 123,
      "source": "ACADEMY",
      "sourceId": "<string>",
      "sourceLabel": "<string>",
      "sourceMetadata": "<string>",
      "sourceUpstreamDeployable": "<string>",
      "sourceVid": [
        123
      ],
      "timestamp": 123,
      "unit": "<string>",
      "updatedByUserId": 123,
      "useTimestampAsPersistenceTimestamp": true,
      "value": "<string>"
    }
  ],
  "endDateTime": "2023-11-07T05:31:56Z",
  "eventCancelled": true,
  "eventDescription": "<string>",
  "eventName": "<string>",
  "eventOrganizer": "<string>",
  "eventType": "<string>",
  "eventUrl": "<string>",
  "startDateTime": "2023-11-07T05:31:56Z"
}
'
{
  "createdAt": "2023-11-07T05:31:56Z",
  "customProperties": [
    {
      "name": "<string>",
      "value": "<string>"
    }
  ],
  "eventName": "<string>",
  "objectId": "<string>",
  "updatedAt": "2023-11-07T05:31:56Z",
  "appInfo": {
    "id": "<string>",
    "name": "<string>"
  },
  "endDateTime": "2023-11-07T05:31:56Z",
  "eventCancelled": true,
  "eventCompleted": true,
  "eventDescription": "<string>",
  "eventOrganizer": "<string>",
  "eventType": "<string>",
  "eventUrl": "<string>",
  "startDateTime": "2023-11-07T05:31:56Z"
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -無料ツール
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -無料ツール

認証

Authorization
string
header
必須

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

パスパラメータ

objectId
string
必須

HubSpotのマーケティングイベントの内部ID

ボディ

application/json
customProperties
object[]
必須
endDateTime
string<date-time>

マーケティングイベントの終了日時

eventCancelled
boolean

マーケティングイベントがキャンセルされたかどうかを示します

eventDescription
string

マーケティングイベントの説明。

eventName
string

マーケティングイベントの名前

eventOrganizer
string

マーケティングイベントの主催者の名前

eventType
string

マーケティングイベントのタイプ

eventUrl
string

マーケティングイベントを管理できる外部イベントアプリケーションのURL

startDateTime
string<date-time>

マーケティングイベントの開始日時

レスポンス

successful operation

createdAt
string<date-time>
必須

マーケティングイベントの作成日時

customProperties
object[]
必須
eventName
string
必須

マーケティングイベントの名前

objectId
string
必須

HubSpotのマーケティングイベントの内部ID

updatedAt
string<date-time>
必須

マーケティングイベントの更新日時

appInfo
object
endDateTime
string<date-time>

マーケティングイベントの終了日時

eventCancelled
boolean

マーケティングイベントがキャンセルされたかどうかを示します

eventCompleted
boolean

マーケティングイベントが完了したかどうかを示します

eventDescription
string

マーケティングイベントの説明。

eventOrganizer
string

マーケティングイベントの主催者の名前

eventType
string

マーケティングイベントのタイプ

eventUrl
string

マーケティングイベントを管理できる外部イベントアプリケーションのURL

startDateTime
string<date-time>

マーケティングイベントの開始日時

Last modified on December 9, 2025