PUT
/
marketing
/
v3
/
campaigns
/
{campaignGuid}
/
spend
/
{spendId}
キャンペーン支出項目を更新
curl --request PUT \
  --url https://api.hubapi.com/marketing/v3/campaigns/{campaignGuid}/spend/{spendId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 123,
  "name": "<string>",
  "description": "<string>",
  "order": 123
}'
{
  "createdAt": 123,
  "amount": 123,
  "name": "<string>",
  "description": "<string>",
  "id": "<string>",
  "order": 123,
  "updatedAt": 123
}
サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing HubProfessional
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。

spendId
integer
required

支出項目の固有ID。

Body

application/json

Response

200
application/json

successful operation

The response is of type object.