Zum Hauptinhalt springen
PATCH
/
marketing
/
v3
/
campaigns
/
{campaignGuid}
キャンペーンを更新
curl --request PATCH \
  --url https://api.hubapi.com/marketing/v3/campaigns/{campaignGuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "properties": {}
}'
{
  "createdAt": "2023-11-07T05:31:56Z",
  "businessUnits": [
    {
      "id": 123
    }
  ],
  "id": "<string>",
  "properties": {},
  "updatedAt": "2023-11-07T05:31:56Z"
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -Professional
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -無料ツール
この API には、次のいずれかのスコープが必要です。
marketing.campaigns.write

Authorizations

Authorization
string
header
required

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

Path Parameters

campaignGuid
string
required

キャンペーンの固有IDで、UUIDとして書式設定されます。

Body

application/json
properties
object
required

Response

successful operation

createdAt
string<date-time>
required
businessUnits
object[]
required
id
string
required
properties
object
required
updatedAt
string<date-time>
required